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

Re: Inherit the authorization from a trunk to a branch/tag

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-06-02 14:24:31 CEST

On 6/2/07, Peter <smile_face@21cn.com> wrote:
> Hi all,
>
> Is there any method to inherit the authorization when "svn copy" done.
>
> The following is the structure of my module in the repos:
>
> .../cal/trunk
> .../cal/branchs
> .../cal/tags
> .../cal/trunk/util
> .../cal/trunk/main
>
> When I copy the trunk to tags by "svn copy .../cal/trunk .../cal/tags/t-1.0.0", I found the authorization about ".../cal/trunk/util" and ".../cal/trunk/main" did not be inherited by ".../cal/tags/t-1.0.0/util" and ".../cal/tags/t-1.0.0/main".
>
> And I read the book of subversion, cannot found any description abort that. But I regard that the svn server can track the "svn copy", so it might copy the authorization from the source to destination when do the "svn copy", in the abstract.

Authorization is not associated with items in the repository the way
you're thinking. It's not connected to the actual contents. The server
just performs a check to find out whether your ID has the required
permissions to act upon the path you're using.

You need to configure your access control file to include information
about those paths.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 2 14:24:53 2007

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