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

Re: CVS/SVN comparison

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2004-10-22 19:54:10 CEST

On Fri, 22 Oct 2004 13:37:46 -0400, Scott Palmer
<scott.palmer@2connected.org> wrote:
> On Oct 22, 2004, at 1:07 PM, Patrick Smears wrote:
>
> > On Fri, 22 Oct 2004, Scott Palmer wrote:
> >
> >>> With the setup of the correct authentication, and the correct repo
> >>> layout, you can achive tagging.
> >>
> >> I would argue that even then "Subversion" doesn't support it.. you
> >> must
> >> use Apache and security settings to work around it. If subversion
> >> supported it, then it would work with svn: and file: just as well as
> >> http: and https:
> >
> > It does :-)
> >
> > The authorisation takes place at the repository hook level - so it
> > works
> > just as well with any access method.
> >
>
> I was under the impression that using svn: the only security was
> read-only vs. read-write for the whole repository, and that you could
> not apply different security based on the path. So with svn: the
> 'tags' folder can't be made read-only independently of the trunk and
> other 'copies'.
>
> From the Subversion book:
> "Notice that svnserve only understands "blanket" access control. A
> user either has universal read/write access, universal read access, or
> no access."

Right, it comes out of the box that way, but you can limit it further
with hook-scripts.

> So I think my claim still stands.

Not really, we gave you the most general mechanism you can wish to do
your own authorisation: your own creativity :-)

> Note that pre-commit hooks to support this are not provided. If I have
> to do my own hook programming it is basically to work around the lack
> of the true feature. Otherwise I would just enable the "feature".

Umm, yes, they are. See the svnperms.py script in
http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/ it controls
add, update and remove. which means that you can make tags/
add-but-never-change. No programming, just a conf file.

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 22 19:54:42 2004

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.