Re: mod_authz_svn single tree access

Daniel Sahlberg <[email protected]> Mon, 16 Dec 2024 14:09:10 +0100
Newsgroups gmane.comp.version-control.subversion.user
Message-ID <CAMHy98OZtEGFpNeyuBxxuHxS14Y3U94zRAtR9Oyv_+fkfFMQfw@mail.gmail.com>
Den mån 16 dec. 2024 kl 12:47 skrev Richard Tresidder <
[email protected]>:

> Hi
>    I'm wondering if there has been any discussion about adding the ability
> to allow traversal of a single tree path.
> Currently one has to provide read access to to each level of the tree and
> prune off every other directory in the path.
> I'd like to give a user access to root/path1/path11/path111/*
> But I don't want them to have any access to or visibility of other
> directories / files along the way.
> eg root/path1/path2 would not be visible or accessible.
>
> Probably needs another access type?  'x' to allow traversal to a deeper
> level, but hide everything else?
>
> The prune method is not reliable as new folders may be added, sometimes
> theres a lot of folders etc there are files in the folders along the
> desired path.
>
> Cheers
>     Richard Tresidder
>
>
Hi,

That is a very useful feature, unfortunately I'm not sure if there is
anyone with enough time to implement it. A patch would be highly welcome.

I know this exact functionality exists in at least one of the commercial
servers, see the support page for VisualSVN Server [1].

Cheers,
Daniel

[1] https://www.visualsvn.com/support/topic/00186/