You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Peter <sm...@21cn.com> on 2007/06/02 11:53:59 UTC

Inherit the authorization from a trunk to a branch/tag

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.

Best Regards
Perter 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Andy Levy <an...@gmail.com>.
On 6/2/07, Peter <sm...@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