Changes between Version 12 and Version 13 of TracUserPagePlugin
- Timestamp:
- Nov 20, 2016, 10:27:12 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracUserPagePlugin
v12 v13 5 5 == Description 6 6 7 This plugin 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_ADMINor the user whose login name matches the wiki page. Users can use this page to store a personal set of reports, queries, macros, etc.7 This plugin 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 the Trac administrator, who has `TRAC_ADMIN` privileges, 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. 8 8 9 9 !TracUserPage works nicely with the TracMyPagePlugin. 10 11 Suppose there are the following entries in your `trac.ini` file: 12 {{{#!ini 13 [components] 14 userpageplugin.* = enabled 15 16 [userpage] 17 default = private 18 error = u_private 19 root = /wiki/u/ 20 }}} 21 22 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. 10 23 11 24 == Bugs/Feature Requests … … 31 44 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 32 45 33 == Example34 35 Suppose there are the following entries in your `trac.ini` file:36 {{{#!ini37 [components]38 userpageplugin.* = enabled39 40 [userpage]41 default = private42 error = u_private43 root = /wiki/u/44 }}}45 46 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.47 48 46 == Recent Changes 49 47