Changes between Version 7 and Version 8 of ProtectedMacro
- Timestamp:
- Oct 12, 2009, 12:46:25 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProtectedMacro
v7 v8 18 18 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. 19 19 20 Note: a user who is allowed to edit the wiki page will always be able to see (and edit) protected parts.20 Note: when searching though the wiki the protected parts are still shown 21 21 22 22 === Attachment === … … 32 32 === Improvements === 33 33 34 * SECURITY VIOLATION: When searching through the wiki protected parts are searched and shown 34 35 * Filter out hidden parts when editing a wiki page 35 36 * Supply an admin feature to add/edit protected-xxx … … 74 75 #:[[Include(wiki:RestrictedSection)]] 75 76 This 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 RestictedSection77 Those that do not have this permission will see the wiki page called RestictedSection 77 78 }}} 78 79 }}}