Edgewall Software

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


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

note some ideas from ticket:9630#comment:7

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/Proposals/EvenFinerGrainedPermissions

    v3 v4  
    3333
    3434
     35== Performance ==
     36
     37
     38Even today, lots of permission checks and lots of policies could have a non-negligible performance impact.
     39
     40If 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
     42A 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
    3545
    3646----