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

Re: Trying (failing) to limit access to one user

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 27 Apr 2011 21:03:25 +0300

Alan M. Evans wrote on Wed, Apr 27, 2011 at 08:51:03 -0700:
> On Tue, 2011-04-26 at 16:07 -0700, David Brodbeck wrote:
>
> > So the short answer is there's probably no way to do what you want
> > except by creating a group with everyone but jon in it.
>

I haven't read the thread, but this caught my eye.

There are some not-well-documented features in libsvn_repos/authz.c...

In particular I'm thinking of this feature:

  /* If the rule has an inversion, recurse and invert the result. */
  if (rule_match_string[0] == '~')
    return !authz_line_applies_to_user(&rule_match_string[1], b, pool);

Sounds like it might be relevant?

> But I tried this already:
>
> [groups]
> ourcompany = alan,james,craig,tony,keith,ken
>
> [/]
> @ourcompany = rw
>
> Nobody can access the repository at all.
>
> -Alan
>
Received on 2011-04-27 20:04:07 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.