From 1ab07d84e6cded32bddb9563e57f1287a65b5a27 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Wed, 16 Apr 2014 18:56:57 +0200 Subject: [PATCH] Add some documentation about the "user" key in the "regex" rights module --- radicale/rights/regex.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/radicale/rights/regex.py b/radicale/rights/regex.py index afbba4f..988da6f 100644 --- a/radicale/rights/regex.py +++ b/radicale/rights/regex.py @@ -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.