Add some documentation about the "user" key in the "regex" rights module
This commit is contained in:
parent
799dbfe612
commit
1ab07d84e6
@ -29,6 +29,9 @@ is matched against the "collection" key. You can use Python's ConfigParser
|
|||||||
interpolation values %(login)s and %(path)s. You can also get groups from the
|
interpolation values %(login)s and %(path)s. You can also get groups from the
|
||||||
user regex in the collection with {0}, {1}, etc.
|
user regex in the collection with {0}, {1}, etc.
|
||||||
|
|
||||||
|
For example, for the "user" key, ".+" means "authenticated user" and ".*"
|
||||||
|
means "anybody" (including anonymous users).
|
||||||
|
|
||||||
Section names are only used for naming the rule.
|
Section names are only used for naming the rule.
|
||||||
|
|
||||||
Leading or ending slashes are trimmed from collection's path.
|
Leading or ending slashes are trimmed from collection's path.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user