Discussion:
Using wild cards to specify usernames in svn auth file
William Muriithi
2018-10-26 14:06:24 UTC
Permalink
Hello

I have an SVN where a user can login through two accounts. For
example, ***@example.com and ***@example.org. The access
rules however are tailored for one domain

I want to prevent users in one domain being able to commit. I however
don't want to list them all again. Its there a way one can use a wild
card to match all users in a specific domain in the auth file?
Something like *@example.org to match all users who login from
example.org accounts?

Any pointer is highly appreciated.

Regards,
William
Eric Johnson
2018-10-26 18:23:39 UTC
Permalink
I don't believe that Subversion implements a way to do that directly. For
the server I help manage, we generate access files from a combination of
sources, which then lets us auto-generate lists of users, rather than
maintain a list in an editor. Sounds like that could be the right approach
in this case.

Eric.
Post by William Muriithi
Hello
I have an SVN where a user can login through two accounts. For
rules however are tailored for one domain
I want to prevent users in one domain being able to commit. I however
don't want to list them all again. Its there a way one can use a wild
card to match all users in a specific domain in the auth file?
example.org accounts?
Any pointer is highly appreciated.
Regards,
William
Loading...