aboutsummaryrefslogtreecommitdiffstats
path: root/conf/authz
diff options
context:
space:
mode:
authorriopwg <riopwg@piwigo.org>2010-09-10 21:12:13 +0000
committerriopwg <riopwg@piwigo.org>2010-09-10 21:12:13 +0000
commitd1f86f09c491d2cf2c41ee9feb1340c518bdb8c6 (patch)
tree5535ba840331476f3fb6af8ce439582042deaf2c /conf/authz
parent7b515a89ccc6188246977a5dfdfa1969ff705546 (diff)
git-svn-id: http://piwigo.org/svn/trunk@6875 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'conf/authz')
-rw-r--r--conf/authz32
1 files changed, 32 insertions, 0 deletions
diff --git a/conf/authz b/conf/authz
new file mode 100644
index 000000000..90d883888
--- /dev/null
+++ b/conf/authz
@@ -0,0 +1,32 @@
+### This file is an example authorization file for svnserve.
+### Its format is identical to that of mod_authz_svn authorization
+### files.
+### As shown below each section defines authorizations for the path and
+### (optional) repository specified by the section name.
+### The authorizations follow. An authorization line can refer to:
+### - a single user,
+### - a group of users defined in a special [groups] section,
+### - an alias defined in a special [aliases] section,
+### - all authenticated users, using the '$authenticated' token,
+### - only anonymous users, using the '$anonymous' token,
+### - anyone, using the '*' wildcard.
+###
+### A match can be inverted by prefixing the rule with '~'. Rules can
+### grant read ('r') access, read-write ('rw') access, or no access
+### ('').
+
+[aliases]
+# joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average
+
+[groups]
+# harry_and_sally = harry,sally
+# harry_sally_and_joe = harry,sally,&joe
+
+# [/foo/bar]
+# harry = rw
+# &joe = r
+# * =
+
+# [repository:/baz/fuz]
+# @harry_and_sally = rw
+# * = r