Changes between Version 4 and Version 5 of TracDev/Proposals/EvenFinerGrainedPermissions
- Timestamp:
- Sep 20, 2010, 11:10:23 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/Proposals/EvenFinerGrainedPermissions
v4 v5 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 matches. 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 informations about the resources they're checking (e.g. [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 45 45 46