Modify, Retire Template and create standard change related links not visible

Ken61
Giga Guru

Hello All,

On a Standard Change Template record "std_change_record_producer" table. The Modify Template, Retire Template and create standard change related link not visible for users with change_manager role.

How can I make users with change_manager roles access to all these related links. 

Below are the related links that I want users with change_manager role have access to.

Ken61_0-1679366568734.png

Thank You

 

3 REPLIES 3

Weird
Mega Sage

Go to "sys_ui_action" table and set the condition to table is std_change_record_producer.
You should be able to see the UI actions AND their conditions.
In a older OOB instance I can see that the conditions tend to be like "current.retired == false" or "current.active == true && current.retired == false", so there should be no role limit, but it might differ in your customized instance.

Check the conditions and if there's something like "gs.hasRole("admin")" then you'd need to add change_manager to it -> gs.hasRole("admin,change_manager");

Hi @Weird the condition on the ui action is  "current.retired == false". I have checked that but forgot to state that on the question. I am guessing it might be an ACL issue.

Thanks for your quick response.

Usually it isn't related to ACL if the condition doesn't have something like canCreate() or canDelete(), but of course someone might have done some changes.

You can also check the Requires role tab and whether the "UI action visibility" related list have anything in them. OOB they should be empty. If nothing else works, then you should try creating a new UI action with the same logic to see if that pops up.