Menu

Commit [r3198]  Maximize  Restore  History

PermissionPolicy:

* Moved resource location code/interface into
* Added a `make_policy_decision()` method to `PermissionCache` for determing the decision made and who made it.
* Added `trac-admin permission test <user> <action> [<resource>]`. This will respond with allowed or denied, and the policy that made the decision.

athomas 2006-04-18

changed /sandbox/security/trac/env.py
changed /sandbox/security/trac/perm.py
changed /sandbox/security/trac/scripts/admin.py
changed /sandbox/security/trac/ticket/api.py
changed /sandbox/security/trac/wiki/api.py
/sandbox/security/trac/env.py Diff Switch to side-by-side view
Loading...
/sandbox/security/trac/perm.py Diff Switch to side-by-side view
Loading...
/sandbox/security/trac/scripts/admin.py Diff Switch to side-by-side view
Loading...
/sandbox/security/trac/ticket/api.py Diff Switch to side-by-side view
Loading...
/sandbox/security/trac/wiki/api.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB