You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Zlatkho <zl...@SAFe-mail.net> on 2004/07/06 12:49:22 UTC
access right
Hello,
I have a repository that is being accessed through Apache.
I would like fine grained access to the project and directories in that repository.
I build an example :
$ svnlook tree /svn/test
/
A/
trunk/
branches/
tags/
B/
trunk/
branches/
tags/
C/
trunk/
branches/
tags/
Here is the svn access file :
$ cat /svn/svn-access-file
[groups]
grA = harry
grB = sally
grC = harry, sally
[/]
admin = rw
@grA = r
[A:/A]
@grA = rw
[B:/B]
@grA = r
@grB = rw
[C:/C]
* = r
Here is the subversion.conf file:
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /svn>
DAV svn
SVNParentPath /svn
AuthzSVNAccessFile /svn/svn-access-file
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/svn-auth-file
Satisfy Any
Require valid-user
</Location>
I try to browse the repository with Opera Browser. Which is quite surprising is that I need authentication to access project C. Another problem is that I can't access project B as sally. I can fully read the repository identified as harry (I know this is correct).
Could you tell me what are my mistakes ?
Greetings.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: access right
Posted by Paulo Sousa Dias <pd...@fe.up.pt>.
Hello,
I was waiting for someone to answer because I to have the same doubt.
What is seams to me is that you are blocking grB and grC access to
everything with the first statement:
[/]
admin = rw
@grA = r
It seams to be the only explanation for what is happening.
regards
Zlatkho wrote:
>Hello,
>
>I have a repository that is being accessed through Apache.
>I would like fine grained access to the project and directories in that repository.
>I build an example :
>$ svnlook tree /svn/test
>/
> A/
> trunk/
> branches/
> tags/
> B/
> trunk/
> branches/
> tags/
> C/
> trunk/
> branches/
> tags/
>
>Here is the svn access file :
>$ cat /svn/svn-access-file
>[groups]
>grA = harry
>grB = sally
>grC = harry, sally
>
>[/]
>admin = rw
>@grA = r
>
>[A:/A]
>@grA = rw
>
>[B:/B]
>@grA = r
>@grB = rw
>
>[C:/C]
>* = r
>
>Here is the subversion.conf file:
>LoadModule dav_module modules/mod_dav.so
>LoadModule dav_svn_module modules/mod_dav_svn.so
>LoadModule authz_svn_module modules/mod_authz_svn.so
>
><Location /svn>
> DAV svn
> SVNParentPath /svn
>
> AuthzSVNAccessFile /svn/svn-access-file
>
> AuthType Basic
> AuthName "Subversion Repository"
> AuthUserFile /etc/svn-auth-file
>
> Satisfy Any
> Require valid-user
></Location>
>
>I try to browse the repository with Opera Browser. Which is quite surprising is that I need authentication to access project C. Another problem is that I can't access project B as sally. I can fully read the repository identified as harry (I know this is correct).
>Could you tell me what are my mistakes ?
>
>Greetings.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: access right
Posted by Ben Collins-Sussman <su...@collab.net>.
On Tue, 2004-07-06 at 07:49, Zlatkho wrote:
> [/]
> admin = rw
> @grA = r
>
> [A:/A]
> @grA = rw
>
> [B:/B]
> @grA = r
> @grB = rw
>
> [C:/C]
> * = r
You only have one repository. Why are you defining access control to
three different repositories here? The only rule which is active is the
first one, because it mentions no repository at all. The other three
rules are talking about three repositories which don't exist.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org