Skip to content

Commit

Permalink
Merge pull request #33 from eea/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
avoinea authored Jun 6, 2023
2 parents 67b54ca + 3c9c967 commit 591574b
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

6.2 - (2023-06-06)
---------------------------
* Change: View comments permission only for authenticated
[dobri1408 - refs #251360]

6.1 - (2023-06-01)
---------------------------
* Bug fix: Hide Footer Login action if user is logged-in
Expand Down
8 changes: 8 additions & 0 deletions eea/kitkat/profiles.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@
provides="Products.GenericSetup.interfaces.EXTENSION"
/>

<genericsetup:registerProfile
name="kitkat_62"
title="Upgrade profile for eea.kitkat 6.2"
description=""
directory="profiles/upgrades/to_62"
provides="Products.GenericSetup.interfaces.EXTENSION"
/>

<utility
factory=".setuphandlers.HiddenProfiles"
name="eea.kitkat-hiddenprofiles"
Expand Down
2 changes: 1 addition & 1 deletion eea/kitkat/profiles/default/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<version>6.0</version>
<version>6.2</version>
<dependencies>
<dependency>profile-collective.taxonomy:default</dependency>
<dependency>profile-eea.api.layout:default</dependency>
Expand Down
10 changes: 10 additions & 0 deletions eea/kitkat/profiles/upgrades/to_62/rolemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<rolemap>
<permissions>
<permission acquire="True"
name="View comments"
>
<role name="Authenticated" />
</permission>
</permissions>
</rolemap>
12 changes: 11 additions & 1 deletion eea/kitkat/upgrades/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,17 @@
title="Remove eea.api.taxonomy"
import_profile="eea.kitkat:kitkat_60"
/>

</genericsetup:upgradeSteps>

<genericsetup:upgradeSteps
source="6.0"
destination="6.2"
profile="eea.kitkat:default">

<genericsetup:upgradeDepends
title="Update permissions for comments"
import_profile="eea.kitkat:kitkat_62"
/>
</genericsetup:upgradeSteps>
</configure>

2 changes: 1 addition & 1 deletion eea/kitkat/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.1
6.2

0 comments on commit 591574b

Please sign in to comment.