You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ritesh Nadhani <ri...@webyog.com> on 2005/12/20 14:56:00 UTC

Permission to a perticular folder to a perticular user

Hello,

We are small development company and we have been using Subversion 1.1 with 
its own file system (we found BerkeleyDB to be very unstable) for our basic 
revision control system. Currently, we have created users where everybody 
has read/write access and to all the projects which is cool with us :)

My password.conf file looks like:

[users]
user1=pwd
user2=pwd
user3=pwd
.....
.....

Now I want to create a user which has access (both read & write) only to one 
perticular folder of a project. E.g. a sample URL to the trunk folder is 
like:

svn://192.168.1.1:3690/svnrepos/project1/trunk
svn://192.168.1.1:3690/svnrepos/project2/trunk

Now I want to create a user only to have access to the two folders:

svn://192.168.1.1:3690/svnrepos/project1/trunk        {and his sub 
directories..basically I want to have access to only one project}.
svn://192.168.1.1:3690/svnrepos/project/trunk/somefolder {I dont want to 
give the user access to the trunk as it contains the source code but to a 
perticular folder which contains the help file details}.

I am sure the first problem is very easy but not about the second problem. 
Can somebody provide link or help to the two question?

PS: Upgrading Subversion is *not* a problem if required.

Regards,
Ritesh




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

Re: Permission to a perticular folder to a perticular user

Posted by Ritesh Nadhani <ri...@webyog.com>.
Hello,

----- Original Message ----- 
From: "Ryan Schmidt" <su...@ryandesign.com>
To: "Ritesh Nadhani" <ri...@webyog.com>
Cc: <us...@subversion.tigris.org>
Sent: Tuesday, December 20, 2005 9:34 PM
Subject: Re: Permission to a perticular folder to a perticular user


> On Dec 20, 2005, at 15:56, Ritesh Nadhani wrote:
>
>> Now I want to create a user which has access (both read & write)  only to 
>> one perticular folder of a project. E.g. a sample URL to  the trunk 
>> folder is like:
>>
>> svn://192.168.1.1:3690/svnrepos/project1/trunk
>> svn://192.168.1.1:3690/svnrepos/project2/trunk
>>
>> Now I want to create a user only to have access to the two folders:
>>
>> svn://192.168.1.1:3690/svnrepos/project1/trunk        {and his sub 
>> directories..basically I want to have access to only one project}.
>> svn://192.168.1.1:3690/svnrepos/project/trunk/somefolder {I dont  want to 
>> give the user access to the trunk as it contains the source  code but to 
>> a perticular folder which contains the help file details}.
>
> Per-directory access control is a feature called authz, which is 
> available with the Apache mod_dav_svn module now, and will be  available 
> with svnserve in Subversion 1.3. If you can't wait for the  final release 
> and want it now, you can try 1.3rc4, available here:
>
> http://subversion.tigris.org/servlets/NewsItemView?newsItemID=1387
>

We are not using Apache module? Wont we be able to do it using the svn 
server?

Also I could not find docs on setting permission for a perticular project 
e.g.

>> svn://192.168.1.1:3690/svnrepos/project1/trunk

I must have missed. Link to the same would be appreciable.

Regards,
Ritesh

>
> 



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

Re: Permission to a perticular folder to a perticular user

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 20, 2005, at 15:56, Ritesh Nadhani wrote:

> Now I want to create a user which has access (both read & write)  
> only to one perticular folder of a project. E.g. a sample URL to  
> the trunk folder is like:
>
> svn://192.168.1.1:3690/svnrepos/project1/trunk
> svn://192.168.1.1:3690/svnrepos/project2/trunk
>
> Now I want to create a user only to have access to the two folders:
>
> svn://192.168.1.1:3690/svnrepos/project1/trunk        {and his sub  
> directories..basically I want to have access to only one project}.
> svn://192.168.1.1:3690/svnrepos/project/trunk/somefolder {I dont  
> want to give the user access to the trunk as it contains the source  
> code but to a perticular folder which contains the help file details}.

Per-directory access control is a feature called authz, which is  
available with the Apache mod_dav_svn module now, and will be  
available with svnserve in Subversion 1.3. If you can't wait for the  
final release and want it now, you can try 1.3rc4, available here:

http://subversion.tigris.org/servlets/NewsItemView?newsItemID=1387



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