-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #254 from plone/protect_historyview_3297
Protect @@HistoryView with Modify portal content permission
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Protect @@historyview with Modify portal content permission. Fixes https://github.com/plone/Products.CMFPlone/issues/3297 | ||
[pbauer] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0"?> | ||
<object name="portal_actions" meta_type="Plone Actions Tool" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n"> | ||
<object name="object" meta_type="CMF Action Category"> | ||
<object name="history" meta_type="CMF Action" i18n:domain="plone"> | ||
<property name="permissions"> | ||
<element value="Modify portal content"/> | ||
</property> | ||
</object> | ||
</object> | ||
</object> |