Changes between Version 1 and Version 2 of WikiRbacPatch


Ignore:
Timestamp:
Jan 20, 2006, 2:33:22 PM (9 years ago)
Author:
puffy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiRbacPatch

    v1 v2  
    2626== Example ==
    2727
    28 Install the patch.
     28Install the patch.[[BR]]
     29Add the following to trac.ini's [wiki] section:[[BR]]
     30authz_svn_module_name = tracwiki[[BR]]
     31authorization_mode = require_all #(or 'require_one', or 'none' if you want RBAC disabled)[[BR]]
    2932
    30 Add the following to trac.ini:
    31 
    32 authz_svn_module_name = tracwiki
    33 
    34 authorization_mode = require_all (or 'require_one', or 'none' if you want RBAC disabled)
     33Just as an example, one might add to the subversion authz file (or set the authz_file directive in the wiki section to something appropriate):
    3534
    3635
    37 add to the subversion authz file (or set the authz_file directive in the wiki section to something appropriate):
    38 
    39 [groups]
    40 
    41 example = mrfoo,mrsbaz
    42 
     36[groups][[BR]]
     37example = mrfoo,mrsbaz[[BR]]
    4338losers = somedude
    4439
    45 
    46 [tracwiki:/]
    47 
    48 * = r
    49 
    50 [tracwiki:/WikiStart]
    51 
    52 @example = a #give admin permissions
    53 
    54 [tracwiki:/somepath/sample]
    55 
     40[tracwiki:/][[BR]]
     41* = r[[BR]]
     42[tracwiki:/WikiStart][[BR]]
     43@example = a #give admin permissions[[BR]]
     44[tracwiki:/somepath/sample][[BR]]
    5645@losers = rwc #give the losers group permissions to read, edit, and create wiki pages.
    5746