plugin:aclauditor
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
plugin:aclauditor [2010-09-24 16:49] – created 195.220.94.89 | plugin:aclauditor [2023-12-21 16:21] (current) – new download url Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== aclauditor | + | ====== aclauditor |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
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: | + | downloadurl: |
bugtracker : | bugtracker : | ||
sourcerepo : | sourcerepo : | ||
donationurl: | donationurl: | ||
---- | ---- | ||
+ | |||
+ | ^ Compatibility with DokuWiki release Binky: works basically, but some features (?) won't do since outdated use of [[devel: | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
===== Syntax and Usage ===== | ===== Syntax and Usage ===== | ||
Line 59: | Line 61: | ||
=== " | === " | ||
- | In this mode you can test your ACL config against a list of rules (or scenario). The scenario is a simple csv file whose format as follows | + | In this mode you can test your ACL config against a list of rules (or scenario). The scenario is a simple csv file which lines look like : |
resource_id, | resource_id, | ||
Line 73: | Line 75: | ||
foo: | foo: | ||
foo: | foo: | ||
+ | |||
+ | 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/ | ||
== Value comparators == | == Value comparators == | ||
Line 79: | 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 greater than | | + | | > | is greater than | |
- | | >= | is greater than or equal to | | + | | >= |
- | The scenario can be server side stored in order to use it later. The plugin accepts semicolon separated CSV as well as quoted fields. Note that lines whose first field starts with # 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. | + | == Scenario example == |
- | Example : | ||
# Scenario to test that the dev group have the good permissions,,, | # Scenario to test that the dev group have the good permissions,,, | ||
# id, | # id, | ||
Line 97: | Line 101: | ||
foo: | foo: | ||
+ | ==== Inside a page ==== | ||
+ | |||
+ | You can use the following syntax inside pages : | ||
+ | < | ||
+ | |||
+ | It will display a "test acl" button to wiki admins that will allow them to do quick testing. The available options are : | ||
+ | |||
+ | ^ name ^ meaning | ||
+ | |who | view permissions for user or group | ''< | ||
+ | |what | view permissions applied on resource | ||
+ | |who and what | describe permission for user or group on resource | ||
+ | |scenario | ||
+ | |||
+ | ===== Discussion ===== | ||
+ | |||
+ | > Please check. I think, the @ALL-group is ignored on using "Get ACL applied on resource"? |
plugin/aclauditor.1285339799.txt.gz · Last modified: 2010-09-24 16:49 by 195.220.94.89