-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21.04.2013 08:58, Joost Kraaijeveld wrote: > Hi, > > I have read http://trac.edgewall.org/wiki/TracPermissions and > http://trac.edgewall.org/wiki/TracFineGrainedPermissions but I still do > not understand how or if I can do the following: > > I want to restrict the viewing and editing of certain wiki pages to > certain groups of users. > > Is that possible and if so, is there an idiot (==me) guide or readme?
If you can express 'certain wiki page' by one or a reasonable number of paths (including wild-cards), possible - Yes. But administration is never for idiots. Make sure you understand what you're doing __before__ going into production. Standard permissions are just per realm, i.e. identical permissions for all wiki pages. You'll need fine grained permission to fulfill your requirements. Here is an (untested) example: [groups] admins = john, jack editors = alice, bob [wiki:RestricedArea/*] @admins = TRAC_ADMIN @editors = WIKI_EDIT * = !WIKI_VIEW [wiki:*] @admins = TRAC_ADMIN @editors = WIKI_EDIT * = WIKI_VIEW Read: * defines groups * goes from specific to general (first match rules - order matters) * denies viewing (and anything else) to everyone except admins and editors for pages below the restricted area path * allows to view other pages, but still grants edit to editors (and admins) only This may give you a slightly better starting point than the aforementioned wiki page, even if I don't know much more than what has been written there. Steffen Hoffmann -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlFz3csACgkQ31DJeiZFuHcA6gCfdFVhupo4yXosrNdSmqNWTXv0 JWoAoLiKBDMah3kWr0vbETGF9B9fQEVX =pE/t -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
