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

RE: access rights mechanism for the users with Apache + SVN

From: Himanshu Raina <raina_himanshu_at_yahoo.com>
Date: 2007-04-17 08:09:19 CEST

Hi,

Well you can define groups in svnaccessfile
[groups]
developer = user1, user2
module_leader = user3, user4
project_leader = user5, user6

Now your repository access can be granted like this
[Dump:/]
@developer = r
@module_leader = rw

For checkin/import/commit you would require write access. I don't how things work in VSS . Probably you can provide root access to admin/PL i.e
[Dump:/]
@project_leader

[Dump:/Developer]
 @developer
 
[Dump:/Module_Leader]
 @module_leader
 
Where Developer & Module_Leader are directories under Dump repository...

Regards
Himanshu Raina

Swati Kulkarni <swati.lkulkarni@patni.com> wrote: Hi,
 I have defined per directory access in AuthSVNAccess file already. But, our
project requires
 that we should give -

 1) read , checkin ,checkout to the developers
 2) read , checkin checkout , ADD, delete to the Module leaders
 3) read ,checkin ,checkout ,ADD, distroy rights to admin, PL of the
project.
 (This kind of rights assignment we used to have , when we were using VSS.)

 But, it seems Subversion + Apache does not provide such distinctly defined
access mechanism for its users.
 Dont we have any alternative for this?
 Thanks in advance.

Regards,
Swati k

-----Original Message-----
From: Andy Levy [mailto:andy.levy@gmail.com]
Sent: Monday, April 16, 2007 6:16 PM
To: Himanshu Raina
Cc: swati.lkulkarni@patni.com; Ryan Schmidt (E-mail); Subversion Users
(E-mail)
Subject: Re: access rights mechanism for the users with Apache + SVN

On 4/16/07, Himanshu Raina wrote:
> Swati,
>
> With write access you can do add/delete operations. In order to have
better
> control over repository you can have directory based access as well.i.e
say
> if you repository is
> /usr/local/svn/dump
> Under dump if u have two directories namely
> prod & test
> you can provide root access to admin and access to prod/test as per the
> requirement and hence can avoid misuse of code/data.
>
> You need to break down the access further in the svnaccessfile
>
> [/]
> admin = rw
>
> [dump:/prod]
> user1 = rw
>
> [dump:/test]
> user2 = rw
>
> Hope this helps !!

This syntax implies that prod and test are in a different repository
from the root.

To be correct (assuming everything is in this one repository), you
need [dump:/] for that admin user.

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

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail.
_____________________________________________________________________

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail.
_____________________________________________________________________

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

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
Received on Tue Apr 17 08:09:55 2007

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.