You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Modha Khammammettu <MK...@calcas.com> on 2008/12/08 05:58:06 UTC

Directory level permission

Hi
 
I need to give some users access to certain folders in a repository. 
 
Can you please tell me how to set folder level permissions.
 
Thanks
Modha/-

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981032

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Branch level access to users in subversion

Posted by Va...@rbs.com.
Sandeep,
Alternatively you can use authz file and create the required groups



~Varun


________________________________
From: vishwajeet singh [mailto:dextrous85@gmail.com]
Sent: 09 December 2008 01:01
To: SAXENA, Sandeep, IDC
Cc: users@subversion.tigris.org; # IDC Development Support Group
Subject: Re: Branch level access to users in subversion

There are two ways this can be done

1. Set folder level access control that is path based authorization

2. Setup pre-commit hook to check for permission and preventing the commits or checking authorization



On Mon, Dec 8, 2008 at 3:39 PM, <sa...@rbs.com>> wrote:
Hi,

I want to lock my main trunk in subversion and give check-in rights on main trunk to some selected developers (development leads). For all the other developers, I want check in rights on the feature or release branches. How can this be implemented?

Regards,
Sandeep.

***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorised and regulated by the Financial Services Authority

This e-mail message is confidential and for use by the
addressee only. If the message is received by anyone other
than the addressee, please return the message to the sender
by replying to it and then delete the message from your
computer. Internet e-mails are not necessarily secure. The
Royal Bank of Scotland plc does not accept responsibility for
changes made to this message after it was sent.

Whilst all reasonable care has been taken to avoid the
transmission of viruses, it is the responsibility of the recipient to
ensure that the onward transmission, opening or use of this
message and any attachments will not adversely affect its
systems or data. No responsibility is accepted by The
Royal Bank of Scotland plc in this regard and the recipient should carry
out such virus and other checks as it considers appropriate.
Visit our websites at:
www.rbs.com<http://www.rbs.com>
www.rbs.com/gbm<http://www.rbs.com/gbm>
www.rbsgc.com<http://www.rbsgc.com>
***********************************************************************************

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981087

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org<ma...@subversion.tigris.org>].



--
Cheers,
Vishwajeet
http://www.singhvishwajeet.com

***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
www.rbs.com
www.rbs.com/gbm
www.rbsgc.com
***********************************************************************************

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981450

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Branch level access to users in subversion

Posted by Dextrous <de...@gmail.com>.
There are two ways this can be done

1. Set folder level access control that is path based authorization

2. Setup pre-commit hook to check for permission and preventing the commits
or checking authorization



On Mon, Dec 8, 2008 at 3:39 PM, <sa...@rbs.com> wrote:

> Hi,
>
> I want to lock my main trunk in subversion and give check-in rights on main
> trunk to some selected developers (development leads). For all the other
> developers, I want check in rights on the feature or release branches. How
> can this be implemented?
>
> Regards,
> Sandeep.
>
>
> ***********************************************************************************
> The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
> Office: 36 St Andrew Square, Edinburgh EH2 2YB.
> Authorised and regulated by the Financial Services Authority
>
> This e-mail message is confidential and for use by the
> addressee only. If the message is received by anyone other
> than the addressee, please return the message to the sender
> by replying to it and then delete the message from your
> computer. Internet e-mails are not necessarily secure. The
> Royal Bank of Scotland plc does not accept responsibility for
> changes made to this message after it was sent.
>
> Whilst all reasonable care has been taken to avoid the
> transmission of viruses, it is the responsibility of the recipient to
> ensure that the onward transmission, opening or use of this
> message and any attachments will not adversely affect its
> systems or data. No responsibility is accepted by The
> Royal Bank of Scotland plc in this regard and the recipient should carry
> out such virus and other checks as it considers appropriate.
> Visit our websites at:
> www.rbs.com
> www.rbs.com/gbm
> www.rbsgc.com
>
> ***********************************************************************************
>
> ------------------------------------------------------
>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981087
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe@subversion.tigris.org].
>



-- 
Cheers,
Vishwajeet
http://www.singhvishwajeet.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981258

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Branch level access to users in subversion

Posted by Dextrous <de...@gmail.com>.
There are two ways this can be done

1. Set folder level access control that is path based authorization

2. Setup pre-commit hook to check for permission and preventing the commits
or checking authorization



On Mon, Dec 8, 2008 at 3:39 PM, <sa...@rbs.com> wrote:

> Hi,
>
> I want to lock my main trunk in subversion and give check-in rights on main
> trunk to some selected developers (development leads). For all the other
> developers, I want check in rights on the feature or release branches. How
> can this be implemented?
>
> Regards,
> Sandeep.
>
>
> ***********************************************************************************
> The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
> Office: 36 St Andrew Square, Edinburgh EH2 2YB.
> Authorised and regulated by the Financial Services Authority
>
> This e-mail message is confidential and for use by the
> addressee only. If the message is received by anyone other
> than the addressee, please return the message to the sender
> by replying to it and then delete the message from your
> computer. Internet e-mails are not necessarily secure. The
> Royal Bank of Scotland plc does not accept responsibility for
> changes made to this message after it was sent.
>
> Whilst all reasonable care has been taken to avoid the
> transmission of viruses, it is the responsibility of the recipient to
> ensure that the onward transmission, opening or use of this
> message and any attachments will not adversely affect its
> systems or data. No responsibility is accepted by The
> Royal Bank of Scotland plc in this regard and the recipient should carry
> out such virus and other checks as it considers appropriate.
> Visit our websites at:
> www.rbs.com
> www.rbs.com/gbm
> www.rbsgc.com
>
> ***********************************************************************************
>
> ------------------------------------------------------
>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981087
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe@subversion.tigris.org].
>



-- 
Cheers,
Vishwajeet
http://www.singhvishwajeet.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981258

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=982470

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Branch level access to users in subversion

Posted by sa...@rbs.com.
Hi,

I want to lock my main trunk in subversion and give check-in rights on main trunk to some selected developers (development leads). For all the other developers, I want check in rights on the feature or release branches. How can this be implemented?

Regards,
Sandeep.

***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
www.rbs.com
www.rbs.com/gbm
www.rbsgc.com
***********************************************************************************

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981087

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Directory level permission

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 7, 2008, at 23:58, Modha Khammammettu wrote:

> I need to give some users access to certain folders in a repository.
>
> Can you please tell me how to set folder level permissions.

http://svnbook.red-bean.com/en/1.5/ 
svn.serverconfig.httpd.html#svn.serverconfig.httpd.authz.perdir

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981034

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Directory level permission

Posted by David Weintraub <qa...@gmail.com>.
Are you doing read permission or only controlling write permissions?
For example, you don't care if everyone who already has access to your
repository can checkout these folders, but you only want a limited set of
people to do commits. In this case, you can use the pre-commit triggers to
limit who can do a commit on the folders.

If, on the other hand, you only want a small subset of your developers to be
able to checkout and commit to this directory, you need to configure your
server directly. And, that depends on the type of server you're using. If
you're using svnserve, you can configure the file conf/authz to specify who
has access to what Subversion directories. (You also have to setup the name
of this file in the svnserve.conf file in the same directory).

 If you are using Apache, then you can do that via the mod_authz_svn
authorization configuration.

The directions are in the Subversion book on line in Chapter 6.

On Mon, Dec 8, 2008 at 12:58 AM, Modha Khammammettu <
MKhammammettu@calcas.com> wrote:

> Hi
>
> I need to give some users access to certain folders in a repository.
>
> Can you please tell me how to set folder level permissions.
>
> Thanks
> Modha/-
>
> ------------------------------------------------------
>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981032
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe@subversion.tigris.org].
>



-- 
--
David Weintraub
qazwart@gmail.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981201

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].