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

Re: using svnserve.conf to define some "read-only" users?

From: Robert P. J. Day <rpjday_at_mindspring.com>
Date: 2005-01-11 17:20:22 CET

On Tue, 11 Jan 2005, Erik Huelsmann wrote:

> On Tue, 11 Jan 2005 09:35:10 -0500 (EST), Robert P. J. Day
> <rpjday@mindspring.com> wrote:
> >
> > it's not clear from the online subversion book if you can define a
> > set of "read-only" users. from what i read, you can have, in
> > svnserve.conf:
> >
> > anon-access={none,read,write}
> > auth-access={none,read,write}
> >
> > i assume then, there is no way (a la CVS) to define "readers" versus
> > "writers"? or am i just not seeing that?
>
> You can allow readers and writers in the pre-commit hook. Have a
> look at
> http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/svnperms.py
> to see all you can do (even with svnserve) to manage write
> permissions on your repository.

gotcha. it might be worth adding a short mention of that in the "Set
access controls" section of the "Server Configuration" chapter, since
that section doesn't even *hint* that such a thing is possible. just
a suggestion. :-)

rday

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 11 17:25:19 2005

This is an archived mail posted to the Subversion Users mailing list.