Changes between Version 12 and Version 13 of ProtectedMacro


Ignore:
Timestamp:
Mar 8, 2017, 8:05:25 PM (4 years ago)
Author:
figaro
Comment:

Further cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • ProtectedMacro

    v12 v13  
    77=== Wiki
    88
    9 With the Trac Protected macro it is possible to limit access to parts of a wiki page.
     9With this macro it is possible to limit access to parts of a Trac wiki page.
    1010
    1111A protected part has the following syntax:
     
    1818}}}
    1919
    20 A protected part can use !protected, !protected-red, !protected-blue, or !protected-green to provide access restrictions on different levels. Users will only see these protected sections when they have the permissions `PROTECTED_VIEW`, `PROTECTED_RED_VIEW`, `PROTECTED_BLUE_VIEW`, or `PROTECTED_GREEN_VIEW` respectively. A !protected part will be rendered with a red line to the left, a !protected-blue part will be rendered with a blue line to the left, etc.
     20A protected part can use `!protected`, `!protected-red`, `!protected-blue` or `!protected-green` to provide access restrictions on different levels. Users will only see these protected sections when they have the permissions `PROTECTED_VIEW`, `PROTECTED_RED_VIEW`, `PROTECTED_BLUE_VIEW` or `PROTECTED_GREEN_VIEW` respectively. A `!protected` part will be rendered with a red line to the left, a `!protected-blue` part will be rendered with a blue line to the left, etc.
    2121
    2222'''Note''': when searching though the wiki the protected parts are still shown.