Changes between Version 9 and Version 10 of TracDev/Proposals/EvenFinerGrainedPermissions
- Timestamp:
- Apr 6, 2017, 7:52:32 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/Proposals/EvenFinerGrainedPermissions
v9 v10 42 42 A few ideas: 43 43 - policy registration: each `IPermissionPolicy` can register "patterns" of actions, resources and users it is interested in; only fire the permissions that match. Of course, there's a balance to find, and the pattern matching should not "cost" more than firing the rule. Also, determination of group membership should be cached when possible. 44 - resource cache: some permission policies need to retrieve information about the resources they're checking, eg [source:tags/trac- 0.12/sample-plugins/permissions/vulnerability_tickets.py]). This could be avoided if the properties have already been retrieved before and we have a way to "reuse" them.44 - resource cache: some permission policies need to retrieve information about the resources they're checking, eg [source:tags/trac-1.2/sample-plugins/permissions/vulnerability_tickets.py]). This could be avoided if the properties have already been retrieved before and we have a way to "reuse" them. 45 45 46 46 ----