Is it possible to set a catalog item available from portal but not available from the backend

junhuwh
Tera Contributor

Hi, 

I'm new to the servicenow, could you help to advice if it's possible to set a catalog item available from portal but not available from the backend?

 

like I created a catalog item, I want only the manager group can see that catalog item from portal, but user group can not see it.

and both manager and user can not see it from the backend, is it possible? 

 

I try to set the 'available for ', but it let manager can see the item from both backend and portal.

 

Could you give some advice? thanks. 

1 REPLY 1

Akshay37
Giga Guru

Hi @ junhuwh,

 

You can write a read ACL for that particular catalog item and restrict read access for that particular group for on native side, to check if its a native or portal side you can use 

gs.getProperty("glide.servlet.uri") + gs.action.getGlideURI();

 this code to get url and identify if its portal or backend view and assign access accordingly.

 

If this helps you mark this as correct and helpful.

Thanks,

Akshay