Changes between Version 3 and Version 4 of TracDev/Proposals/EvenFinerGrainedPermissions
- Timestamp:
- Sep 20, 2010, 11:07:11 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/Proposals/EvenFinerGrainedPermissions
v3 v4 33 33 34 34 35 == Performance == 36 37 38 Even today, lots of permission checks and lots of policies could have a non-negligible performance impact. 39 40 If we're going to add even more checks like suggested here, we will also need a somewhat more efficient infrastructure for performing those checks. 41 42 A few ideas: 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 35 45 36 46 ----