Edgewall Software

Changes between Version 4 and Version 5 of TracDev/Proposals/EvenFinerGrainedPermissions


Ignore:
Timestamp:
Sep 20, 2010, 11:10:23 AM (14 years ago)
Author:
Christian Boos
Comment:

resource cache?

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/Proposals/EvenFinerGrainedPermissions

    v4 v5  
    4242A few ideas:
    4343 - 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
    4445
    4546