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

Re: Configuration authz wildcard for projects

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 17 Jul 2009 06:09:55 -0400

On Fri, Jul 17, 2009 at 03:52, Justus
Stadler_external<Justus.Stadler_external_at_de.kspg.com> wrote:
>
> Hi,
> I'm running a repo containing several projects via svnserve. My repo looks
> like this:
>
> svn://host/projekts/      projekt1-trunk
>                                                            -tags
>                                                            -branches
>                                            project2-trunk
>                                                            -tags
>                                                            -branches
>                                            project3-trunk
>                                                            -tags
>                                                            -branches
>      ....and so on....
> Now when configurating the rights for the users for this repository, I have
> something like this in the file "authz"
>
> [groups]
> admin = me, another
> developers = harry, sally .....
> ....
> [/]
> $anonymous = r
> @admin = rw
> @developers = rw
> ....
> [projects:/project1/tags]
> * = r
> @admin = rw
> ...
> [projects:/project2/tags]
> * = r
> @admin = rw
> ...
>
> As you see, the authz file is used by several repositorys. I want only the
> admins to have the right to change anything contained in tags or to create a
> tag.
> I was now wondering, if there is a wildcard for folders so I will not have
> to configurate all projct-tags for themselfes. So what I'm looking for would
> be:
>
> [projects:/*/tags]
> * = r
> @admin = rw
>
> Do you know of a wildcard?

Subversion doesn't support wildcards. svnperms.py does, but is
installed as a pre-commit hook and thus can't restrict on the checkout
side, on the commit.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2372017

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-17 12:10:47 CEST

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.