]> oss.titaniummirror.com Git - repo_shell.git/blobdiff - git_acl.cfg.example
Implement * to mean any user or repo
[repo_shell.git] / git_acl.cfg.example
index 8a19962880bb0acd75ae92e39af118eddfe53c8c..0ff90152ff2e40977f23b157a02e9bfef3ed0d10 100644 (file)
 # and repo for which permissions are requested will satisfy the request.  Any
 # other possible matches later in the configuration file are irrelevant.
 #
+# The asterisk ('*') used as a userid means any user.  Similarly, an asterisk
+# used as a repoid means any repo.
+#
 # A user/repo combination that has no match in the git_acl.cfg file is reported
 # as the separate NOTFOUND permission, but is effectively treated the same as
 # the NONE permission.
 
 [user_groups]
-devs = steve dave jobu
-qa = frank bill ted mike
+devs = steve dave mike
+qa = frank bill
+allusers = *
 
 [repo_groups]
-mirrors = mirrors/tinyos.git mirrors/chibios.git
 public = oss-web.git repo_shell.git cp210x.git
 private = redmine.git nesc.git
 
 [repo nesc.git]
-steve =
-ted = rw
-qa = r
+steve = r
+devs = rw
+* = r
 
 [repo oss-web.git]
 steve = rw
 devs = r
 
-[repo mirrors/tinyos.git]
-jobu = rw
-steve = r
-devs = -
-qa = r
-
 [repo public]
-dave = rw
-devs = -
-qa = r
+devs = rw
+allusers = r
 
 [repo private]
-steve = rw
-dave = rw
-devs = 
+devs = rw
+qa = r
 
-[repo mirrors]
-jobu = r
+[repo *]
 devs = rw
+* = r