Changes between Version 12 and Version 13 of TracUserPagePlugin


Ignore:
Timestamp:
Nov 20, 2016, 10:27:12 AM (7 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • TracUserPagePlugin

    v12 v13  
    55== Description
    66
    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_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.
     7This 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.
    88
    99!TracUserPage works nicely with the TracMyPagePlugin.
     10
     11Suppose there are the following entries in your `trac.ini` file:
     12{{{#!ini
     13[components]
     14userpageplugin.* = enabled
     15
     16[userpage]
     17default = private
     18error = u_private
     19root = /wiki/u/
     20}}}
     21
     22This 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.
    1023
    1124== Bugs/Feature Requests
     
    3144General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    3245
    33 == Example
    34 
    35 Suppose there are the following entries in your `trac.ini` file:
    36 {{{#!ini
    37 [components]
    38 userpageplugin.* = enabled
    39 
    40 [userpage]
    41 default = private
    42 error = u_private
    43 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 
    4846== Recent Changes
    4947