AFAIK, mod_authz_svn does not know anything about the UNIX /etc/group file
(since SVN is not
limited to running on UNIX systems). Not that /etc/group allows you to
recursively define
groups...
As for doing it in SVN, the code of mod_authz_svn as of v1.1.1 doesn't seem
to handle that.
The code to check the ACL grabs a name from the list of allowed users,
checks if the first
char is '@', and if so calls another function that just does a strcmp of the
current user
against all users in the group list. There is no logic to check if a member
of the group
list starts with a '@'.
-----Original Message-----
From: BRM [mailto:bm_witness@yahoo.com]
Sent: Thursday, October 28, 2004 5:45 PM
To: SubVersion Users
Cc: James FitzGibbon
Subject: RE: WebDAV permissions file...
Sorry, I did read that, but I'm still not clear on the answer to my
question. I understand that I can give a group access like the example, but
the example does not list groups as being a member of a group, which I
guess it what my question really is - can a group be a member of another
group?
I'm not very familiar with the workings of the /etc/group file and whether
or not it can do this either. I didn't see any info about that in 'man
group'.
Thanks.
BRM
--- James FitzGibbon <jfitzgibbon@primustel.ca> wrote:
> From chapter 6 of the SVN book:
>
> The access file also allows you to define whole groups of users, much
> like the Unix /etc/group file:
>
> [groups]
> calc-developers = harry, sally, joe
> paint-developers = frank, sally, jane
> everyone = harry, sally, joe, frank, sally, jane
>
> Groups can be granted access control just like users. Distinguish them
> with an at (@) prefix:
>
> [calc:/projects/calc]
> @calc-developers = rw
>
> [paint:/projects/paint]
> @paint-developers = rw
> jane = r
>
> ...and that's pretty much all there is to it.
>
> Regards
>
> -----Original Message-----
> From: BRM [mailto:bm_witness@yahoo.com]
> Sent: Thursday, October 28, 2004 5:11 PM
> To: SubVersion Users
> Subject: WebDAV permissions file...
>
> I'm working on setting up a repository using WebDAV.
> I noticed in the
> documentation that it supports a file for use by mod_authz_svn to
> grant permissions based on particular folders within the repository.
> (Cool)
>
> What I am wonder (and this might be a stupid
> question) is, can I specify a
> group like a user? For example, is the following
> valid:
>
> [groups]
> win_developer = sally
> world_developer = harry
> developers = @win_developer, @world_developer
>
> Thanks,
>
> BRM
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
> users-help@subversion.tigris.org
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.784 / Virus Database: 530 - Release
> Date: 10/27/2004
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.784 / Virus Database: 530 - Release
> Date: 10/27/2004
>
>
>
>
>
----------------------------------------------------------------------------
> This electronic message contains information from Primus
> Telecommunications Canada Inc. ("PRIMUS") , which may be legally
> privileged and confidential.
> The information is intended to be for the use of the
> individual(s) or entity
> named above. If you are not the intended recipient, be aware that any
> disclosure, copying, distribution or use of the contents of this
> information is prohibited. If you have received this electronic
> message in error, please notify us by telephone or e-mail (to the
> number or address above) immediately. Any views, opinions or advice
> expressed in this electronic message are not necessarily the views,
> opinions or advice of PRIMUS.
> It is the responsibility of the recipient to ensure that any
> attachments are virus free and PRIMUS bears no responsibility for any
> loss or damage arising in any way from the use thereof.The term
> "PRIMUS" includes its affiliates.
>
----------------------------------------------------------------------------
> Pour la version en frangais de ce message, veuillez voir
> http://www.primustel.ca/fr/legal/cs.htm
>
----------------------------------------------------------------------------
>
>
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.784 / Virus Database: 530 - Release Date: 10/27/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.784 / Virus Database: 530 - Release Date: 10/27/2004
----------------------------------------------------------------------------
This electronic message contains information from Primus Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
----------------------------------------------------------------------------
Pour la version en français de ce message, veuillez voir
http://www.primustel.ca/fr/legal/cs.htm
----------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 29 00:03:28 2004