RE: AuthZ file not as expected - work around found - comments welcomed!
From: Engebakken Geir <geir.engebakken_at_edb.com>
Date: Fri, 5 Sep 2008 11:42:46 +0200
I discovered by wading through the source for authz, that it is possible to invert the access rights by placing a ~ in front of a group/user name. Effectively making it possible to do what I want, which is grant rw access to a project to a group, and deny all access to the same project for all other users, at the same time giving read access to the repository root (which obviously is needed for creating tags), so the content of the access file is like :
[/]
[groups]
[java:/]
[java:/fts_core]
This is not documented in the svnbook, I think, shouldnt it be?
Geir
________________________________
I have set up a repository for many projects, and want to restrict both read and write access for each project to a group of people. Easy enough I would belive, but I end up with the users not being able to create tags or branches! They get an error :
RA layer request failed
Now if I give the user (rather the group the user belong to) read access to the repository root, everything works, but this is not what we want since we want to restrict read access to all the other projects! This seems like weird behaviour to me, any explanation?
Here is an abstract of our svn_access_file :
[/]
[groups]
[java:/]
[java:/fts_core]
Geir
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.