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

web view acl

From: allan juul <allan_at_muly.dk>
Date: 2005-12-28 21:31:56 CET

hello

i wonder if anyone have written a cgi script [given that we use Apache
as subversion server] that can return a complete list of all known users
and their rights on the repository. it should also be able to return a
list for a single user and a single group.

i am not sure how this would be best seen in the GUI, but something like
the AuthUserFile file:

URL http://path/to/auth/script:

/ [adminusers] rw
                [*] r
/path1 [adminusers] rw
                        [developers] rw
                        [designers] r
                        [joe](no group) rw

/path2/subpath [designers] r
                        [joe](no group) rw

and

URL http://path/to/auth/script?user=joe:

user = joe
group = none

/ r
/path1 rw
/path2/subpath rw

the script should be intelligent enough to detect which group(s) a given
user belongs to so for instance if a user was member of two groups it
should be able to return the data for the group with highest privileges

assuming no-one has written this before, what would be the best
approach. is there a simpler way than parsing the auth file ?

thanks
./allan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 28 21:34:52 2005

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.