コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

What is granite:AuthenticationRequired ?

Avatar

Level 8

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

akshaybhujbale_0-1670335985776.png

 

 

 

1 受け入れられたソリューション

Avatar

正解者
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.

元の投稿で解決策を見る

4 返信

Avatar

Employee Advisor

@akshaybhujbale 
It is mostly used to add authentication requirement on repository level. Please check the link below:

https://github.com/AdobeDocs/experience-manager-65.en/blob/main/help/sites-administering/closed-user...

 

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

Level 8

Hi @Avinash_Gupta_ 

will it restrict admin user?

Avatar

正解者
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.