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

Re: Changing a revision message - Acces granted to everybody....

From: Paul Koning <Paul_Koning_at_dell.com>
Date: Tue, 19 Feb 2008 14:15:52 -0500

>>>>> "Sébastien" == Sébastien Filion <sfilion_at_finrad.com> writes:

 Sébastien> Hi, I give the possibility of changing the comments of a
 Sébastien> particular revision and it works fine.

 Sébastien> But it stills a problem:

 Sébastien> I have a developer team who does not have access to a
 Sébastien> particular path in the repository ( " The releases branch
 Sébastien> ").

 Sébastien> But they can change the revision message of the files
 Sébastien> contains under " The releases branch ".

 Sébastien> Is there a solution to this or it is impossible?

You should be able to do that with a hook script. What you'd have to
do is extract the list of path names touched in the revision, feed
those to an access control checker, and decide whether to allow the
name change or not.

Another approach, which would be simpler, is to allow only the
original submitter (or an administrator) to change the message. That
would avoid the scenario you mentioned.

      paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-19 23:59:08 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.