After deactivating the acl , it still works

Joyal Robert
Tera Contributor

There are already an acl which gives restriction to state field in approval table and i created an acl to give access to state field for some more users and when i deactivated the acl  which is still giving access to everyone.

Please help me on this.

8 REPLIES 8

Instead of acl i am creating clientscript

How can we set the field editable

find_real_file.png

find_real_file.png

find_real_file.png

Hi @Joyal Robert ,

Yes you can use client script also.

1. Make sure you get value in g_scratchpad variable through a display Business rule.

2. Checking the value in your onLoad client script.

3. If you want to set the field editable then use below:

g_form.setReadOnly('state',false);

if you want it to be editable then use:

g_form.setReadOnly('state',true);

 

Please mark this as correct and helpful if it resolved the query or lead you in right direction.

Thanks,
Mohit Kaushik
Community Rising Star 2022

Thanks,
Mohit Kaushik
ServiceNow MVP (2023-2025)

This doesn't work why?

 

Hi @Mohit Kaushik 

find_real_file.png

find_real_file.png

This doesn't work, why?