Expand my Community achievements bar.

SOLVED

What is granite:AuthenticationRequired ?

Avatar

Level 7

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

akshaybhujbale_0-1670335985776.png

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

4 Replies

Avatar

Community Advisor

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.htm... 

Avatar

Correct answer by
Community Advisor

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.