Skip to content

Commit

Permalink
Merge pull request #254 from plone/protect_historyview_3297
Browse files Browse the repository at this point in the history
Protect @@HistoryView with Modify portal content permission
  • Loading branch information
pbauer authored Aug 11, 2021
2 parents 3adcbb3 + c07e9ec commit addce9e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions news/254.feature
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]
11 changes: 11 additions & 0 deletions plone/app/upgrade/v60/profiles/to_alpha1/actions.xml
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>

0 comments on commit addce9e

Please sign in to comment.