DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:aclauditor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:aclauditor [2010-09-24 16:53] 195.220.94.89plugin:aclauditor [2023-12-21 16:21] (current) – new download url Aleksandr
Line 1: Line 1:
-====== aclauditor plugin ======+====== aclauditor Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: Gives infos about users/groups/pages permissions, like how they are constructed, and allow to test ACL against scenarios+description: Gives info about users/groups/pages permissions, like how they are constructed, and allow to test ACL against scenarios
 author     : Etienne Meleard author     : Etienne Meleard
 email      : etienne.meleard@free.fr email      : etienne.meleard@free.fr
 type       : Admin, Syntax type       : Admin, Syntax
 lastupdate : 2010-09-24 lastupdate : 2010-09-24
-compatible : 2009-12-25c+compatible : Lemming
 depends    :  depends    : 
 conflicts  conflicts 
Line 13: Line 13:
 tags       : acl, audit tags       : acl, audit
  
-downloadurl: http://dokuwiki.yent.eu/aclauditor.zip+downloadurl: https://trello.com/1/cards/5bc2138261e6091620e2b992/attachments/5bc213a70da3cb2833dfe4cc/download/aclauditor.zip #http://dokuwiki.yent.eu/aclauditor.zip
 bugtracker :  bugtracker : 
 sourcerepo :  sourcerepo : 
 donationurl:  donationurl: 
 ---- ----
 +
 +^ Compatibility with DokuWiki release Binky: works basically, but some features (?) won't do since outdated use of [[devel:jqueryfaq#addinitevent]]^
  
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the URL given above. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Syntax and Usage ===== ===== Syntax and Usage =====
Line 75: Line 77:
  
 The scenario can be server side stored in order to use it later. The plugin accepts comma separated and semicolon separated CSV as well as quoted fields. Note that lines whose first field starts with the # symbol is considered as a comment line, if the first line is a comment line and if only its first field is filled it will be considered as the file description. The scenario can be server side stored in order to use it later. The plugin accepts comma separated and semicolon separated CSV as well as quoted fields. Note that lines whose first field starts with the # symbol is considered as a comment line, if the first line is a comment line and if only its first field is filled it will be considered as the file description.
 +
 +Server side stored scenarios are saved as csv files under the DOKUWIKI_ROOT/conf/aclauditor_scenarios directory.
  
 == Value comparators == == Value comparators ==
Line 81: Line 85:
 |  = or ==  | is equal to  | |  = or ==  | is equal to  |
 |  ! or !=  | is not equal to  | |  ! or !=  | is not equal to  |
-|  <  | is less than   | +|  <        | is less than   | 
-|  <=  | is less than or equal to  | +|  <=       | is less than or equal to  | 
-|  >  | is greater than  | +|  >        | is greater than  | 
-|  >=  | is greater than or equal to  |+|  >=       | is greater than or equal to  |
  
 == Scenario example == == Scenario example ==
Line 97: Line 101:
   foo:hidden_to_dev,,dev,<1   foo:hidden_to_dev,,dev,<1
  
 +==== Inside a page ====
 +
 +You can use the following syntax inside pages :
 +  <ACLAUDITOR [options] />
 +
 +It will display a "test acl" button to wiki admins that will allow them to do quick testing. The available options are :
 +
 +^  name        ^  meaning  ^  example  ^
 +|who           | view permissions for user or group    | ''<ACLAUDITOR who=joe />''\\ ''<ACLAUDITOR who=@dev />''  |
 +|what          | view permissions applied on resource  | ''<ACLAUDITOR what=foo:bar />''\\ ''<ACLAUDITOR what=foo:* />''   |
 +|who and what  | describe permission for user or group on resource  | ''<ACLAUDITOR who=joe what=foo:bar />''\\ (this is just a combination of the previous ones) |
 +|scenario      | run a set of test rules from a scenario file       | ''<ACLAUDITOR scenario=scenario_for_dev.csv />''\\ (the value can be omitted to just create a shortcut to the scenario test mode page) |
 +
 +===== Discussion =====
 +
 +> Please check. I think, the @ALL-group is ignored on using "Get ACL applied on resource"?
plugin/aclauditor.1285339987.txt.gz · Last modified: 2010-09-24 16:53 by 195.220.94.89

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki