cancel
Showing results for 
Search instead for 
Did you mean: 

How can I restrict a usergroup to see only one content page in website?

Former Member
0 Kudos

I want to restrict my usergroup say A, to see only Profile page? How can I achieve it?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You could configure a search restriction (see https://help.hybris.com/6.7.0/hcd/8c428f8286691014970ceee87aa01605.html) for type content page and principal user group A:

 INSERT_UPDATE SearchRestriction; code[unique = true]; active[default = true]; generate[default = false]; principal(uid); restrictedType(code); query
 ; ProfilePage ;  true ; false ; usergroupA   ; ContentPage  ;  "{item:uid} = 'profilePage'"

Doing so, only ContentPage with uid 'profilePage' can be found for uses of group 'usergroupA'.