Hi,

On Wed, Mar 20, 2013 at 1:34 PM, Bart van der Schans
<[email protected]> wrote:
> This is a quite problematic use-case.

Depends on your point of view. The way I see it, the scenario is
equivalent to a Unix directory with the execute bit set but the read
bit cleared.

> Consider the a structure like:
> /A/B/C/D
>
> And a user that is not allowed to read node C and has read/write
> permissions on all other nodes. The view of that user would be two
> "subtrees":
> /A/B
> /D

The Unix scenario, and the way it's currently implemented in
Jackrabbit and planned for Oak, is different. The user would be able
to access the following nodes:

    /A
    /A/B
    /A/B/C/D

The user can of course deduce the presence of node /A/B/C from the
above, but any attempt to directly read the node would result in an
error.

> Now the user tries to move node B below D, aka:

With the above approach this would in any case fail, regardless of
access controls.

BR,

Jukka Zitting

Reply via email to