How to restrict Catalog item edit option for particular group

Aparna Gurav1
Tera Contributor

Hello Team,

I have One customer requirement. 

A particular Group wants to see All maintained items and I want to restrict the edit option. So which is the best way to achieve this requirement?

I tried to assign a Catalog admin role to that group, now they are seeing the all maintain items. but I am unable to restrict that edit option, can anyone help to fix this issue?

 

23 REPLIES 23

Vamsi Sreenivas
Giga Guru

Hi @Aparna Gurav , you can create a new read ACL on the catalog item table and in the script you can use:

if(gs.getUser().isMemberOf("YOUR GROUP NAME")){
    answer = true;
}
else
    answer = false;

 

This ACL will make sure only users in that group can read the catalog items and this ACL will not impact other ACLs.

 

Mark my answer as HELPFUL / CORRECT if this help resolve your issue.

Regards,

Vamsi S

Aparna Gurav1
Tera Contributor

Hello Vamsi,

 

I just create ACL as you said but it's not working, Edit button still showing 

 

find_real_file.png

@Aparna Gurav , are you saying about New button? If yes then it might be related to other roles. Did you removed the catalog admin role that you assigned before?

Vamsi Sreenivas
Giga Guru

@Aparna Gurav , are you saying about New button? If yes then it might be related to other roles. Did you removed the catalog admin role that you assigned before?