Touch UI Pathbrowser based on user permissions | Community
Skip to main content
Level 2
July 16, 2021

Touch UI Pathbrowser based on user permissions

  • July 16, 2021
  • 2 replies
  • 1225 views

When a pathbrowser is opened, I want to display only the content nodes for which the user has access to. 

Currently, it displays all the content nodes under a rootpath.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Asutosh_Jena_
Community Advisor
Community Advisor
July 16, 2021

Hi @nithyasri_k 

 

When the pathfield is opened, the content path configured with "rootPath" property should be displayed. It should not be driven based on the content path that the user has access.

What is the use case that you want to restrict the content path based on the user permission?

 

Thanks!

Level 2
July 19, 2021
We have a business requirement, to restrict the paths shown in touch UI pathbrowser based on user permissions.
Vijayalakshmi_S
Level 10
July 19, 2021

Hi @nithyasri_k,

I tried in my local 6.5.0 and could see both Coral UI 3 pathfield(granite/ui/components/coral/foundation/form/pathfield) and pathbrowser(granite/ui/components/coral/foundation/form/pathbrowser) respects path permission OOTB. 

Could you please share which AEM version and pathfield/browser resource you are using?

Level 2
July 20, 2021
I am using "granite/ui/components/coral/foundation/form/pathbrowser" in AEM 6.4.8