You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Abhishek Bhardwaj <ab...@gmail.com> on 2016/03/25 19:45:23 UTC
Node Access with slng:alias
Hi Everyone,
I have a node structure as below in AEM
/content/folder1/folder2/page1/page2
folder1 and folder2 - sling:OrderedFolder
page1 and page2 - cq:Page
A user has read only access to all nodes from folder1 and below.
The user can access page2.html.
If I add a sling:alias property to page2, the user cannot access the page
with the alias name and i get a 404.
If i provide read access to the user from the root of the tree, the user
can access with the sling alias name.
My understanding is that user would need this root access as per the pseudo
code in this documentation.
https://sling.apache.org/documentation/the-sling-engine/mappings-for-resource-resolution.html
If this is not the case, pls let me know.
Thanks,
Abhishek