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

Re: Proposal: Change repository's UUID over RA layer

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 6 Aug 2010 11:30:08 +0300

Ramkumar Ramachandra wrote on Fri, Aug 06, 2010 at 13:40:17 +0530:
> Hi Daniel,
>
> Daniel Shahaf writes:
> > The implementation should be trivial (over ra_local and ra_svn; probably
> > over ra_dav too but I don't know that one as well). But what about authz
> > concerns?
> >
> > Do you want to allow any authenticated user to change the repository UUID?
>
> No, this doesn't make sense.
>

Right. So when *would* a UUID change be permitted? When the hook says yes?
Or do you want to extend the existing ("read"/"write"/"none") authz schemes?

> > Do you want UUID changing to be disallowed by default (unless the server
> > admin took an explicit action)?
>
> Yeah. Maybe something like the pre-revprop-change hook?
>

Yes, a pre-uuid-change hook (and disallowing a UUID change unless it exists)
is one option.

But that means the logic lives in libsvn_repos, so you have to think how
'svnadmin setuuid' would interact with it...

Daniel

> -- Ram
Received on 2010-08-06 10:32:25 CEST

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