Grant Site Administrators the same workflow permissions as Managers.
They were missing permissions on pending comments. Fixes https://github.com/plone/plone.app.discussion/issues/199
This commit is contained in:
parent
37dc258051
commit
245a2d9be3
3
news/199.bugfix
Normal file
3
news/199.bugfix
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Grant Site Administrators the same workflow permissions as Managers.
|
||||||
|
They were missing permissions on pending comments.
|
||||||
|
[maurits]
|
@ -1,5 +1,5 @@
|
|||||||
<metadata>
|
<metadata>
|
||||||
<version>1004</version>
|
<version>1005</version>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>profile-plone.resource:default</dependency>
|
<dependency>profile-plone.resource:default</dependency>
|
||||||
<dependency>profile-plone.app.registry:default</dependency>
|
<dependency>profile-plone.app.registry:default</dependency>
|
||||||
|
@ -20,11 +20,13 @@
|
|||||||
<permission-role>Manager</permission-role>
|
<permission-role>Manager</permission-role>
|
||||||
<permission-role>Owner</permission-role>
|
<permission-role>Owner</permission-role>
|
||||||
<permission-role>Reviewer</permission-role>
|
<permission-role>Reviewer</permission-role>
|
||||||
|
<permission-role>Site Administrator</permission-role>
|
||||||
</permission-map>
|
</permission-map>
|
||||||
<permission-map name="Modify portal content" acquired="False">
|
<permission-map name="Modify portal content" acquired="False">
|
||||||
<permission-role>Manager</permission-role>
|
<permission-role>Manager</permission-role>
|
||||||
<permission-role>Owner</permission-role>
|
<permission-role>Owner</permission-role>
|
||||||
<permission-role>Reviewer</permission-role>
|
<permission-role>Reviewer</permission-role>
|
||||||
|
<permission-role>Site Administrator</permission-role>
|
||||||
</permission-map>
|
</permission-map>
|
||||||
<permission-map name="Reply to item" acquired="False">
|
<permission-map name="Reply to item" acquired="False">
|
||||||
</permission-map>
|
</permission-map>
|
||||||
@ -32,6 +34,7 @@
|
|||||||
<permission-role>Manager</permission-role>
|
<permission-role>Manager</permission-role>
|
||||||
<permission-role>Owner</permission-role>
|
<permission-role>Owner</permission-role>
|
||||||
<permission-role>Reviewer</permission-role>
|
<permission-role>Reviewer</permission-role>
|
||||||
|
<permission-role>Site Administrator</permission-role>
|
||||||
</permission-map>
|
</permission-map>
|
||||||
</state>
|
</state>
|
||||||
<state state_id="published" title="Published">
|
<state state_id="published" title="Published">
|
||||||
@ -43,6 +46,7 @@
|
|||||||
</permission-map>
|
</permission-map>
|
||||||
<permission-map name="Modify portal content" acquired="False">
|
<permission-map name="Modify portal content" acquired="False">
|
||||||
<permission-role>Manager</permission-role>
|
<permission-role>Manager</permission-role>
|
||||||
|
<permission-role>Site Administrator</permission-role>
|
||||||
</permission-map>
|
</permission-map>
|
||||||
<permission-map name="Reply to item" acquired="True">
|
<permission-map name="Reply to item" acquired="True">
|
||||||
</permission-map>
|
</permission-map>
|
||||||
|
@ -87,6 +87,12 @@
|
|||||||
title="Add 'View comments' permission"
|
title="Add 'View comments' permission"
|
||||||
import_steps="rolemap" />
|
import_steps="rolemap" />
|
||||||
|
|
||||||
|
<genericsetup:upgradeStep
|
||||||
|
source="1004"
|
||||||
|
destination="1005"
|
||||||
|
profile="plone.app.discussion:default"
|
||||||
|
title="Grant Site Administrator permissions on pending comments"
|
||||||
|
handler=".upgrades.upgrade_comment_workflows"
|
||||||
|
/>
|
||||||
|
|
||||||
</configure>
|
</configure>
|
||||||
|
Loading…
Reference in New Issue
Block a user