[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

per directory access control when user in two groups

From: Bradley Wagner <bradley.wagner_at_hannonhill.com>
Date: 2006-11-16 06:19:31 CET

Currently, I have setup a group in the access control file of svn
admins:

svn_admins = me, bob, etc.

and a group of project developers:

dev = me, dev1, dev2, etc.

I ("me") am in both groups. I have given svn_admins "rw" permissions
to the root of the repository and the dev "r" permissions. My
understanding is that because "rw" is higher than "r", that I will
get "rw" because I'm in both svn_admins and dev. However, if I were
to limit dev's acceess later to no visibility on a certain subdirectory:

[/proj1/subdir]
@dev =

then I would lose the ability to see the contents of this directory
too because this is explicit and therefore overrides my "rw" at the
root. Therefore, I could do one of two things... take myself out of
the "dev" group or explicitly allow "rw" to that subdir for the
svn_admins again.

The latter seems a little repetitive. Is the best practice here to
just not have users that appear in more than group? Am I
understanding this correctly as to what happens a user is given two
different permissions to the same directory?

Thanks,
Bradley

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 16 06:21:21 2006

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.