## Example configuration file for svnperms.py. ## # $Id: svnperms.conf.example 5288 2003-03-12 05:56:21Z kfogel $ # # Multiple global [groups] sections are accepted, but be aware # that it's the same as concatenating them all in a single entry. # You can also create section specific groups, using a syntax # like [sectionname groups]. # [groups] wheel = malekith nazgul olszta # # Example repository control, showing allowed syntax. # # - the latest match is what counts # - groups are prefixed by "@" # - you can use groups and users in the same definition # - all permissions may be revoked with () # - line breaks are accepted # [nemerle] .* = *(add,remove,update) repo-scripts/.* = *() @wheel(add,remove,update) nemerle/branches/optimizer/.* = *() pawel(add,remove,update) ## ## One of the most used repository structures, for a single project. ## #[example2] #trunk/.* = *(add,remove,update) #tags/[^/]+/ = *(add) #branches/[^/]+/.* = *(add,remove,update) ## ## Another common structure, expecting a project name inside the repository ## (like trunk/myproject/ and tags/myproject/). In this example, only admins ## are allowed to create projects, and there are project specific access ## lists. ## #[example3 groups] #admins = john #project1 = user1 user2 #project2 = user3 user4 # #[example3] #trunk/[^/]+/ = @admins(add,remove) #trunk/project1/.+ = @project1(add,remove,update) #trunk/project2/.+ = @project2(add,remove,update) #tags/[^/]+/ = @admins(add,remove) #tags/project1/[^/]+/ = @project1(add,remove) #tags/project2/[^/]+/ = @project2(add,remove) #branches/[^/]+/ = @admins(add,remove) #branches/project1/[^/]+/.* = @project1(add,remove,update) #branches/project2/[^/]+/.* = @project2(add,remove,update)