Skip to main content
New Participant
July 16, 2021

Touch UI Pathbrowser based on user permissions

  • July 16, 2021
  • 5 replies
  • 1224 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.

5 replies

Vijayalakshmi_S
New Participant
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?

New Participant
July 20, 2021
I am using "granite/ui/components/coral/foundation/form/pathbrowser" in AEM 6.4.8
Asutosh_Jena_
New Participant
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!

New Participant
July 19, 2021
We have a business requirement, to restrict the paths shown in touch UI pathbrowser based on user permissions.