You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Adarsh V <ad...@gmail.com> on 2020/01/29 13:54:12 UTC
Enabling path access to an accessible folder structure
Hi All,
We have a folder structure as shown below, starting from root folder A.
- A
- B1
- C1
- C2
- B2
We need to give a user Read + Write access to folder C1 and ensure that the
path A/B1/C1 visible to the user, allowing him to visually navigate to C1 .
The user must not be able to view the existence of folders C2 & B2.
What are the approaches to model this using Jackrabbit Oak?
--
Thanks & Regards,
Adarsh V
Ynt: Enabling path access to an accessible folder structure
Posted by Mahsum Demir <ma...@outlook.com>.
Hi Adarsh
- A
- rep:grantACE
- rep:glob=""
-B1
- rep:grantACE
- rep:glob=""
-C1
This node hierarchy may work. Adding rep:glob with value of "" tells OAK to give permission only to the node, not to all of its children.
For more information: https://jackrabbit.apache.org/oak/docs/security/authorization/restriction.html
Best
Mahsum
________________________________
Gönderen: Adarsh V <ad...@gmail.com>
Gönderildi: 29 Ocak 2020 Çarşamba 15:54
Kime: users@jackrabbit.apache.org <us...@jackrabbit.apache.org>
Konu: Enabling path access to an accessible folder structure
Hi All,
We have a folder structure as shown below, starting from root folder A.
- A
- B1
- C1
- C2
- B2
We need to give a user Read + Write access to folder C1 and ensure that the
path A/B1/C1 visible to the user, allowing him to visually navigate to C1 .
The user must not be able to view the existence of folders C2 & B2.
What are the approaches to model this using Jackrabbit Oak?
--
Thanks & Regards,
Adarsh V