Skip to content

Commit

Permalink
Protect the pas_search view
Browse files Browse the repository at this point in the history
Protect the pas_search view with the `cmf.ListPortalMembers` permission
  • Loading branch information
ale-rt committed Dec 20, 2024
1 parent cebaedd commit 2367bcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/94.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Protect the pas_search view with the ``cmf.ListPortalMembers`` permission [ale-rt]
2 changes: 1 addition & 1 deletion src/Products/PlonePAS/browser/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
for="*"
class=".search.PASSearchView"
allowed_interface="Products.PlonePAS.interfaces.browser.IPASSearchView"
permission="zope2.View"
permission="cmf.ListPortalMembers"
/>

</configure>

0 comments on commit 2367bcc

Please sign in to comment.