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

Re: Access Control

From: David Weintraub <qazwart_at_gmail.com>
Date: Wed, 3 Dec 2008 22:22:43 -0500

You can't control "read" access with hooks. There is no pre-checkout hook.
Since there is no hook on checkout or "svn ls", you have to control read
access in the server configuration.
You maybe over thinking the read permission business. Most people only setup
read permission on the entire repository. A few bigger sites set up read
permission on projects. For example, one place where I worked had their
repository layout like this:

http://server/repository/department/project/...

We did access on the department level of our repository. Once you were in a
particular department, you had read access to all projects in that
department. Now, there could be commit restrictions once you get down to a
branch or even file level, but read restrictions were generally more broad

--
David Weintraub
qazwart_at_gmail.com
On Wed, Dec 3, 2008 at 2:15 PM, Brian Osmus <osmusb_at_yahoo.com> wrote:
> We have one or more directories we need to be able to control "read" access
> to, and since branches can be created, the directory can move around, and we
> need to minimize maintenance of having to continuously add restrictions to
> where those "read restricted" directories live. This has led to a cluttered
> and complex access file. Is there way to control the read access with hooks
> or something else.
>
> Thanks, Brian
>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=979275
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-04 04:23:39 CET

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.