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

Re: Muliple repositories and subfolders and differend user groups

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 18 Nov 2009 19:22:12 +0100

Vili wrote:
> Hi all
>
> I have a situation where an user can not access a folder from
> tortoisesvn even when the user is in a group that has rights for the
> folder.
>
> Our repositories are as follow:
>
> SERVER
> |
> Repositories
> |
> |_ProjectA
> | |
> | |_SubFolderA
> | |
> | |_SubFolderB
> | |
> | |_UserFolder <- access for GroupB only here
> |
> |_ProjectB
> |
> |_ProjectC
>
>
> Server is using windows authentication and before there was only one
> group (GroupA) that used the svn and GroupA has read/write access to
> every folder. Now we have a situation that an user in GroupB needs to
> use svn but should be only allowed to read and write to UserFolder,
> but when the user tries to access the folder through TortoiseSVN repo-
> browser it gives error stating that user has no right to ProjectA
> folder... which is correct but I don't even want to give those
> rights.
>
> How can the user access UserFolder without going through ProjectA
> folder where he does not have rights to read?

TortoiseSVN requires read access to the repository root for some
commands to work properly. You can set up the permissions so that all
users have read access to the root, then block the access to its
subfolders and give access to the folders you need below that.

But the revision graph will only work if the user has read access to the
  repo root and all folders which the target folder (the one to show the
graph for) has been copied/moved to.

Note that also some svn commands require read access to the repository root.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2419639
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-18 19:22:17 CET

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