Menu

Commit [r4599]  Maximize  Restore  History

PermissionPolicy: as expected, the Context class can be easily used for describing "pseudo" resources

Example: for the !AuthzPolicy plugin (see sample-plugins/authz_policy.py), it is possible to configure the TracIni configuration view to be visible only to administrators, whereas the system information can be viewed by anyone.

{{{
[about:config]
@administrators = VIEW

[about:systeminfo]
* = VIEW
}}}

cboos 2007-01-18

changed /sandbox/security/sample-plugins/authz_policy.py
changed /sandbox/security/trac/about.py
/sandbox/security/sample-plugins/authz_policy.py Diff Switch to side-by-side view
Loading...
/sandbox/security/trac/about.py Diff Switch to side-by-side view
Loading...
Auth0 Logo