|Version 1 (modified by puffy, 8 years ago) (diff)|
Role-Based Access Control for the Trac Wiki
WikiRBAC modifies the trac.wiki.web_ui component to enforce Role-Based Access Control. Roles are configured as groups within the subversion authz file and ACLs are specified identically to subversion permissions, with the addition of 'c', 'd', and 'a' options, which control creation, deletion, and administration permissions respectively.
This patch has been written against Trac v0.9.2. See also AuthzWebadminPlugin
If you have any issues, create a new ticket.
Download the zipped source from here.
Install the patch.
Add the following to trac.ini:
authz_svn_module_name = tracwiki
authorization_mode = require_all (or 'require_one', or 'none' if you want RBAC disabled)
add to the subversion authz file (or set the authz_file directive in the wiki section to something appropriate):
example = mrfoo,mrsbaz
losers = somedude
- = r
@example = a #give admin permissions
@losers = rwc #give the losers group permissions to read, edit, and create wiki pages.
-  by puffy on 2006-04-09 21:08:54
Integrate heinlein@…'s modifications (see ticket #221) to get WikiRBAC to apply on > 0.9.2.
-  by puffy on 2006-01-20 20:41:21
Fix the calling semantics on WikiAuthorizer so it takes a permission system rather than a request.
-  by puffy on 2006-01-20 14:46:32
Initial import of the WikiRBAC patch.