Trouble adding read access to sys_user_group for no role users

McGuire6799
Tera Contributor

Hello-

I have added an ACL for the sys_user_group to have read access to the table. I have a catalog item with a reference to this table to allow users to select the required support and approval group for a business application. I cannot get this to field to populate any options for a user with no roles. ITIL and Admin can see them just fine. I have added the below script to the advance section as well as I have previously done for another table.

if (gs.getUserID() == current.sys_id || gs.getUser().hasRoles())
answer = true;
else
answer = false;

1 ACCEPTED SOLUTION

vkachineni
Mega Sage

Can you try with just

answer = true;

You are only giving read access to Name field. You can add conditions later.

View solution in original post

15 REPLIES 15

This has resolved the issue! Thank you!