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

How to hide restricted directories using SVN's path-based authorization?

From: Shaun Pinney <shaun.pinney_at_bil.konicaminolta.us>
Date: Fri, 18 Sep 2009 14:41:35 -0700

Hello all,

We're setting up path-based authorization to allow/deny access to certain
folders in our repository based on usernames. This is working great so far
and, as expected, SVN doesn't list the child files/folders downstream of
restricted folders. However, the restricted folders themselves are still
shown in a SVN directory list. Is there a way to prevent restricted
directories from showing?

For example, given this sample repo:

/Trunk/test.txt
/Trunk/Folder/noaccess1.txt
/Trunk/Folder/noaccess2.txt

We've restricted /Trunk/Folder for a user but SVN shows him:

/Trunk/test.txt
/Trunk/Folder

Can SVN hide /Trunk/Folder for this user?

Thanks,
Shaun

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396641

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-18 23:43:35 CEST

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.