Changes between Version 2 and Version 3 of TracPermissionFilterPlugin


Ignore:
Timestamp:
Oct 29, 2011, 8:40:04 AM (3 years ago)
Author:
sto
Comment:

Added notes about adminmeta

Legend:

Unmodified
Added
Removed
Modified
  • TracPermissionFilterPlugin

    v2 v3  
    2727    the next permission policy is checked.
    2828
     29If the boolean option `adminmeta` is True the filters are ignored for users
     30with TRAC_ADMIN permission.
    2931
    3032== Bugs/Feature Requests ==
     
    6668}}}
    6769
    68 And remember to put the filter the first on your project `permission_policies`:
     70The use of the two lists (black and white) makes sense when using inheritance,
     71to avoid repeating long lists (i. e., we can have a long whitelist and reduce it only
     72in one project using the blacklist).
     73
     74The plugin has also an additional boolean option called `adminmeta`.
     75If this option is set to True (the default) the filters don't affect the users with
     76TRAC_ADMIN permission:
     77
     78{{{
     79[permission-filer]
     80adminmeta = true
     81}}}
     82
     83If the variable is set to `False` filtering has odd effects on users with
     84TRAC_ADMIN permission because we reject based on `action` name and
     85TRAC_ADMIN is a meta permission that usually is not checked directly
     86
     87Lastly, remember to put the filter the first on your project `permission_policies`:
    6988
    7089{{{
     
    7291permission_policies = PermissionFilter, DefaultPermissionPolicy
    7392}}}
    74 
    7593
    7694== Recent Changes ==