how to make a catalog item visible to some assignment groups?

sonali bhagat
Tera Contributor

how to make a catalog item visible to some assignment groups?

1 REPLY 1

SunilKumar_P
Giga Sage

Hi @sonali bhagat, You can create a 'User Criteria' and add it to the 'Available for' related list on catalog item.

 

SunilKumar_P_0-1707733567937.png

SunilKumar_P_1-1707733774300.png

 

If you want to check the group membership, then you can create a system property to add the groups list and then check the advanced box to add your script.

answer = false;
if(gs.getUser().isMemberOf('group_property')){
	answer = true;
}

 

Regards,

Sunil