Menu

Commit [r4592]  Maximize  Restore  History

PermissionPolicy: second part of fine grained permissions for attachments

- converted the !AttachmentModule
- check for ATTACHMENT_DELETE, but dropped support for its equivalence with 'ADMIN' permission on the parent context; this eventually needs to be re-enabled.

The example plugin (sample-plugins/authz_policy.py) has been updated to accept simple verbs instead of full permission names (e.g. DELETE instead of ATTACHMENT_DELETE).

cboos 2007-01-18

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