What is granite:AuthenticationRequired ? | Community
Skip to main content
Level 6
December 6, 2022
Solved

What is granite:AuthenticationRequired ?

  • December 6, 2022
  • 2 replies
  • 1529 views

hi What is granite:AuthenticationRequired. What is the usecase of this ? How to conifigure this property?

 

 

 

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

Hi @akshaybhujbale 

 

Concept of CUG is mostly applicable on the published site where end user is restricted to access some of site content. Since admin user has all the permission and access, restriction of the site content won't work. 

 

Hope it helps.

2 replies

Avinash_Gupta_
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 6, 2022

Hi @akshaybhujbale 

 

In order to enforce authentication requirement on a node it is sufficient to add the mixin type granite:AuthenticationRequired. It is used in closed user group and it restrict a JCR node that has the mixin type granite:AuthenticationRequired defined, may optionally define an alternative login path.

 

https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/cug-mapping.html?lang=en 

Level 6
December 6, 2022

Hi @avinash_gupta_ 

will it restrict admin user?

Avinash_Gupta_
Community Advisor and Adobe Champion
Avinash_Gupta_Community Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
December 6, 2022

Hi @akshaybhujbale 

 

Concept of CUG is mostly applicable on the published site where end user is restricted to access some of site content. Since admin user has all the permission and access, restriction of the site content won't work. 

 

Hope it helps.