Edgewall Software

Changes between Version 9 and Version 10 of TracDev/Proposals/EvenFinerGrainedPermissions


Ignore:
Timestamp:
Apr 6, 2017, 7:52:32 AM (3 years ago)
Author:
Ryan J Ollos
Comment:

Point to new version of file.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/Proposals/EvenFinerGrainedPermissions

    v9 v10  
    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 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.
    4545
    4646----