You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mahesh S Kudva <ma...@robosoftin.com> on 2006/11/30 04:38:58 UTC

Authorization HowTo

Hi

This seems to be funny, but I am not able to get access control or
authorization working to the fullest. This is how my file looks

[groups]
tr = joe, frank
tg = mitch, rave

[/]
* = r

#Project Trial
[Trial:/Trial1]
joe = 
@tr = rw

#Project Test
[Test:/Test1]
joe = rw
frank = r

In the above repository Trial; joe get the read-write permission even if he
is mentioned with no-access. But repository Test works fine.



Regards & Thanks
================
Mahesh S Kudva



-----------------------------------------------
Robosoft Technologies - Come home to Technology


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Authorization HowTo

Posted by Mahesh S Kudva <ma...@robosoftin.com>.
Here is the httpd.conf

===========================================================================
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so

<Location /Projects>
  DAV svn
  SVNParentPath /Subversion/Projects

  SVNPathAuthz off

# only authenticated users may access the repository
  Require valid-user

# how to authenticate a user
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /Subversion/svn-auth-file

# our access control policy
  AuthzSVNAccessFile /Subversion/svn-authorize-file
</Location>

===========================================================================

-----Original Message-----
From: Ronan Lucio <ro...@tiper.com.br>
To: Mahesh S Kudva <ma...@robosoftin.com>
Cc: users@subversion.tigris.org
Date: Fri, 01 Dec 2006 12:00:36 -0200
Subject: Re: Authorization HowTo

> Mahesh,
> 
> 1) I don´t know it you can use comments in the file, but perhaps...
> 
> 2) Could you show the lines of httpd.conf?
> 
> Ronan
> 
> Mahesh S Kudva escreveu:
> > Modified my authorization file as follows, but nothing seems to work.
> >
> > [groups]
> > tr = joe, frank
> > tg = mitch, rave
> > everyone = joe, frank, mitch, rave
> >  
> > [Trial:/]
> > @everyone = r
> >
> > #Project Trial
> > [Trial:/Trial1]
> > joe =
> > @tr = rw
> >
> > #Project Test
> > [Test:/Test1]
> > joe = rw
> > frank = r
> >
> > In the above repository Trial; joe gets the read-write permission even
> if he
> > is mentioned with no-access for the folder "Trial1". But repository
> Test
> > works fine.
> >
> >
> > -----Original Message-----
> > From: Ronan Lucio <ro...@tiper.com.br>
> > To: Mahesh S Kudva <ma...@robosoftin.com>
> > Cc: users@subversion.tigris.org
> > Date: Thu, 30 Nov 2006 11:18:27 -0200
> > Subject: Re: Authorization HowTo
> >
> >   
> >> Mahesh
> >>
> >> Mahesh S Kudva escreveu:
> >>     
> >>> Hi
> >>>
> >>> This seems to be funny, but I am not able to get access control or
> >>> authorization working to the fullest. This is how my file looks
> >>>
> >>> [groups]
> >>> tr = joe, frank
> >>> tg = mitch, rave
> >>>
> >>> [/]
> >>> * = r
> >>>   
> >>>       
> >> Try:
> >>
> >> [groups]
> >> tr = joe, frank
> >> tg = mitch, rave
> >> everyone = joe, frank, mitch, rave
> >>
> >> [repos:/]
> >> @everyone = r
> >>
> >>
> >> Ronan
> >>     
> >
> >
> >
> > -----------------------------------------------
> > Robosoft Technologies - Come home to Technology
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
> >
> >   
> 
> 



-----------------------------------------------
Robosoft Technologies - Come home to Technology


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Authorization HowTo

Posted by Ronan Lucio <ro...@tiper.com.br>.
Mahesh,

1) I don´t know it you can use comments in the file, but perhaps...

2) Could you show the lines of httpd.conf?

Ronan

Mahesh S Kudva escreveu:
> Modified my authorization file as follows, but nothing seems to work.
>
> [groups]
> tr = joe, frank
> tg = mitch, rave
> everyone = joe, frank, mitch, rave
>  
> [Trial:/]
> @everyone = r
>
> #Project Trial
> [Trial:/Trial1]
> joe =
> @tr = rw
>
> #Project Test
> [Test:/Test1]
> joe = rw
> frank = r
>
> In the above repository Trial; joe gets the read-write permission even if he
> is mentioned with no-access for the folder "Trial1". But repository Test
> works fine.
>
>
> -----Original Message-----
> From: Ronan Lucio <ro...@tiper.com.br>
> To: Mahesh S Kudva <ma...@robosoftin.com>
> Cc: users@subversion.tigris.org
> Date: Thu, 30 Nov 2006 11:18:27 -0200
> Subject: Re: Authorization HowTo
>
>   
>> Mahesh
>>
>> Mahesh S Kudva escreveu:
>>     
>>> Hi
>>>
>>> This seems to be funny, but I am not able to get access control or
>>> authorization working to the fullest. This is how my file looks
>>>
>>> [groups]
>>> tr = joe, frank
>>> tg = mitch, rave
>>>
>>> [/]
>>> * = r
>>>   
>>>       
>> Try:
>>
>> [groups]
>> tr = joe, frank
>> tg = mitch, rave
>> everyone = joe, frank, mitch, rave
>>
>> [repos:/]
>> @everyone = r
>>
>>
>> Ronan
>>     
>
>
>
> -----------------------------------------------
> Robosoft Technologies - Come home to Technology
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>   


Re: Authorization HowTo

Posted by Mahesh S Kudva <ma...@robosoftin.com>.
Modified my authorization file as follows, but nothing seems to work.

[groups]
tr = joe, frank
tg = mitch, rave
everyone = joe, frank, mitch, rave
 
[Trial:/]
@everyone = r

#Project Trial
[Trial:/Trial1]
joe =
@tr = rw

#Project Test
[Test:/Test1]
joe = rw
frank = r

In the above repository Trial; joe gets the read-write permission even if he
is mentioned with no-access for the folder "Trial1". But repository Test
works fine.


-----Original Message-----
From: Ronan Lucio <ro...@tiper.com.br>
To: Mahesh S Kudva <ma...@robosoftin.com>
Cc: users@subversion.tigris.org
Date: Thu, 30 Nov 2006 11:18:27 -0200
Subject: Re: Authorization HowTo

> Mahesh
> 
> Mahesh S Kudva escreveu:
> > Hi
> >
> > This seems to be funny, but I am not able to get access control or
> > authorization working to the fullest. This is how my file looks
> >
> > [groups]
> > tr = joe, frank
> > tg = mitch, rave
> >
> > [/]
> > * = r
> >   
> 
> Try:
> 
> [groups]
> tr = joe, frank
> tg = mitch, rave
> everyone = joe, frank, mitch, rave
> 
> [repos:/]
> @everyone = r
> 
> 
> Ronan



-----------------------------------------------
Robosoft Technologies - Come home to Technology


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Authorization HowTo

Posted by Ronan Lucio <ro...@tiper.com.br>.
Mahesh

Mahesh S Kudva escreveu:
> Hi
>
> This seems to be funny, but I am not able to get access control or
> authorization working to the fullest. This is how my file looks
>
> [groups]
> tr = joe, frank
> tg = mitch, rave
>
> [/]
> * = r
>   

Try:

[groups]
tr = joe, frank
tg = mitch, rave
everyone = joe, frank, mitch, rave

[repos:/]
@everyone = r


Ronan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org