Changes between Version 7 and Version 8 of ProtectedMacro


Ignore:
Timestamp:
Oct 12, 2009 2:46:25 PM (5 years ago)
Author:
frayja
Comment:

Implemented security filters for EDIT, DIFF, etc

Legend:

Unmodified
Added
Removed
Modified
  • ProtectedMacro

    v7 v8  
    1818A 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. 
    1919 
    20 Note: a user who is allowed to edit the wiki page will always be able to see (and edit) protected parts. 
     20Note: when searching though the wiki the protected parts are still shown 
    2121 
    2222=== Attachment === 
     
    3232=== Improvements === 
    3333 
     34 * SECURITY VIOLATION: When searching through the wiki protected parts are searched and shown 
    3435 * Filter out hidden parts when editing a wiki page 
    3536 * Supply an admin feature to add/edit protected-xxx 
     
    7475#:[[Include(wiki:RestrictedSection)]] 
    7576This will only be visible to those that have the PROTECTED_BLUE_VIEW permission.  
    76 Those that do not have this permission will wee the wiki page called RestictedSection 
     77Those that do not have this permission will see the wiki page called RestictedSection 
    7778}}} 
    7879}}}