Expand my Community achievements bar.

Get ready! An upgraded Experience League Community experience is coming in January.

Hide taxonomy for Admin users

Avatar

Level 2

I am trying to hide a taxonomy path (for example, /content/dam/test and /content/site/test_page) from all users, including administrators. I was able to successfully hide it for all non-admin users by configuring ACLs in repo-init scripts. However, admins are still able to see the taxonomy path. How can I prevent admins from seeing it as well?

3 Replies

Avatar

Community Advisor

Hi @agyawa,

This might not be possible. Or in other words, what you can see could be expected result. Please check official documentation about built in users/groups.

Even if you set a 'deny-everyone' on a node, the administrators can still access the node

Link to documentation: https://experienceleague.adobe.com/en/docs/experience-manager-65/content/security/security#built-in-...

Avatar

Level 2

Hi @lukasz-m . Thanks for confirming. 
Will it be possible to make use of granite:rendercondition in the page path, to make it invisible from UI. 
I know it can be used to hide buttons, toolbar actions. 

Avatar

Community Advisor

Hi @agyawa,

I do not think using granite:rendercondition is the way to go. Main reason is that granite:rendercondition is designed to conditionally hide GUI elements, not necessarily content paths. It also might not be possible to use it against content paths.

I am not sure what exactly is your case, but in my opinion the cleanest solution will be to create custom group (custom-administrators) that will be similar to administrators group, except the paths you would like to restrict. And use it instead of OOTB administrators. This will give you full control on permission level.