zope.app.securitypolicy breaks the IPrincipalPermissionMap interface.
Bug #131115 reported by
Christian Theune
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.securitypolicy |
Fix Committed
|
Medium
|
Christian Theune |
Bug Description
In zopepolicy.py the IPrincipalPermi
Changed in zope3: | |
status: | New → Won't Fix |
affects: | zope.app.securitypolicy → zope.securitypolicy |
Changed in zope.securitypolicy: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
There's a similar code path for the principal role map which also has a getSetting method that passes the default of 'Unset' directory to the queryCell without having a third argument in getSetting.
I think we need to extend the interface (and should do so in both cases) because the client code of PrincipalPermis sionManager. getSetting already uses it as a sentinel to avoid feeding caches with negative responses.