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

Re: Permission to a perticular folder to a perticular user

From: Ryan Schmidt <subversion-2006q1_at_ryandesign.com>
Date: 2006-01-01 17:44:13 CET

On 2005-12-21 07:37:15 CET, 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?

As I said, with Subversion 1.2.x, authz is only available if you're
using the Apache server. As of Subversion 1.3, authz will also be
available for svnserve, but Subversion 1.3 has not been released yet.
If you need this feature immediately and are willing to use pre-
release software, you can use the latest Subversion 1.3 release
candidate, 1.3.0-rc7 as of this writing:

http://svn.haxx.se/users/archive-2005-12/0950.shtml

> 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.

Subversion does not know anything about "projects"; it only knows
about directories. Per-directory access control is what authz is all
about, so look for documentation about authz. As far as I know, it's
currently only documented for use with Apache, but I expect it'll be
similar for svnserve:

http://svnbook.red-bean.com/en/1.1/ch06s04.html#svn-ch-6-sect-4.4.2

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 1 17:45:21 2006

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.