On 2013-06-12 02:38, Gaurav Negi wrote:
> Dear Friends,
> I am new to SVN. So pardon my ignorance if my question looks stupid.
Every question looks little stupid if you know answer :)
This question is about server so you should adress it to svn list. This
is client mailing list.
>
> In our environment, we use tortoise SVN via https.
> However SVN server is on Linux.
>
> I want to restrict a particular user (say user1) to access only a particular task branch (task1). My goal is user1 shoul dbe able to see code and write code to only task1, but not any other branch.
Does Authentification (asking user name and password) on https works for
you?
If is doesn't you need set https server (Apache?). Send relevant config
snipset.
my is:
<Location /svn>
SSLRequireSSL
DAV svn
SVNParentPath <location>
<other SVN params>
AuthzSVNAccessFile /srv/svn/.svnaccess
<ldap authentification config elements>
</Location>
Then you can set Authorisation (access) for certain user and location.
Also relevant part of repo config is needed.
>
> I did following in confg/authz file
>
> [repo:/branches]
> user1 =
>
> [branch:/tasks/task1]
> user1 = rw
>
> It is however not working for me.
>
I use .svnaccess file, but I never try it to limit access.
Oto
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3057810
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-06-12 15:46:56 CEST