RITM variables(variable editor) not being editable

Naga14
Tera Contributor

Hi,

 

We have a client script on the RITM table to make the RITM variables in the variable editor to be editable for the below condition:

when requested for in the RITM is same as the logged in user, stage is work in progress, approval is requested and catalog item is XYZ.

It is working for users with admin role only. We need the variables to be editable for users who has no admin role too. 

Here, the catalog variables are given admin role when created through a client script. Checked by inactivating the client script and removing the admin role for the variables. But didn't work.

Tried ACLs, client scripts, ui policies. 

Can anyone please suggest any solution.

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@Naga14 

what do you mean by this?

Here, the catalog variables are given admin role when created through a client script.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

 

Sorry, it's a typo. 

When the catalog variables are created, admin role is being assigned in the write role field of the variable. It is being done through a client script. It checks if the write role is empty, if it is empty then it gives 'admin' role.

 

praveen43
Tera Expert

Hi @Naga14 ,

I think you need to remove the permission which you have created, Instead you can use Display BR and Client Script to accomplish this. 

Naga14
Tera Contributor

Hi @praveen43 ,

 

I have done that too. But it is not working for non-admins.