Allow a group to be able to copy sys_id in incident header

btreseder
Kilo Expert

I have a group that is unable to see the "Copy sys_id" link when right clicking the incident header.   How do I allow them access to that function?   Do I need to create a new ACL?

1 ACCEPTED SOLUTION

A much simpler way may be to just make a custom UI Action that calls the same copyToClipboard function.   This would then not have an impact on future upgrades.



CopySysID.png


View solution in original post

11 REPLIES 11

john_lamberta
Kilo Expert

The "Copy sys_id" link is controlled by a Context Menu.   These can be found under the "System UI" application menu on the left-nav.   If you look at this one, you'll see there is a condition limiting it to gs.hasRole('admin');.   You could either modify this Context Menu, or create one with a different condition that will allow the desired users to view it.


Thanks.   I tried this Condition:   gs.hasRole('admin'); gs.hasRole('Service_Desk');


but it didn't seem to work.   I know I am not a scriptor so what am I missing in between the two?   I would like to just modify instead of creating a new one.   Thank you for your help.


Try this instead:


gs.hasRole('admin') || gs.hasRole('Service_Desk')



|| means "OR"


Hi John, I copied your line and pasted.   Then impersonated someone with that role and it does not seem to have worked.   They still do not see that link when right clicking the incident header.   I also just tried 'inserting and stay' on the original and updating the Condition but it didn't work either.   Any other ideas?