Skip to content

Commit 2dad811

Browse files
committed
- Fix missing access control on ZODB Role Manager enumerateRoles
1 parent 7eead06 commit 2dad811

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Change Log
44
2.6.0 (unreleased)
55
------------------
66

7+
- Fix missing access control on ZODB Role Manager ``enumerateRoles``
8+
79
- Fix open redirect issue in `Cookie Auth Helper` redirect handling
810

911
- Add support for Python 3.9.

src/Products/PluggableAuthService/plugins/ZODBRoleManager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def getRolesForPrincipal(self, principal, request=None):
112112
#
113113
# IRoleEnumerationPlugin implementation
114114
#
115+
@security.private
115116
def enumerateRoles(self, id=None, exact_match=False, sort_by=None,
116117
max_results=None, **kw):
117118
""" See IRoleEnumerationPlugin.

0 commit comments

Comments
 (0)