|Version 6 (modified by anonymous, 5 years ago) (diff)|
Namespace for public or private user pages
Defines a namespace for user pages, where users can place personal wiki pages that can be public or private. A private page can only be opened by TRAC_ADMIN or the user whose login name matches the wiki page. Users can use this page to store a personal set of reports, queries, macros, etc.
Works nicely with the TracMyPagePlugin.
If you have any issues, create a new ticket.
Download the zipped source from here.
[components] userpage.* = enabled [userpage] default = private error = u_private root = /wiki/u/
This defines the http://example.com/wiki/u/ prefix as a namespace for user pages. /wiki/u/santa would be a page belonging to the user 'santa'. Because pages are 'default = private', santa would be able to view this page when logged in, and so would TRAC_ADMIN users, but everyone else would receive the /wiki/u_private page instead.