Add some documentation about the "user" key in the "regex" rights module

This commit is contained in:
Guillaume Ayoub 2014-04-16 18:56:57 +02:00
parent 799dbfe612
commit 1ab07d84e6

View File

@ -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
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.
Leading or ending slashes are trimmed from collection's path.