Hide new button using ACL

VSN
Tera Expert

I have a requirement to hide New button for the employee table  in the workspace and the native for employee-manager role users by using ACL. 

i have verified acl in the table their is only one create ACL is existed, i made changes on that but it wasn't work.

7 REPLIES 7

Amit Pandey
Kilo Sage

Please ensure that the conditions specified in your ACL are correct and specific to the scenario you're trying to enforce. Double-check that you're targeting the correct roles (employee and employee-manager) and that the conditions are evaluating as expected.

SunilKumar_P
Giga Sage

Hi @VSN, As per my understading, ACLs are mainly to grant the access to the objects in ServiceNow. You can also hide the new button on list via List Control (Configure > List Control > Omit New button).

 

Regards,
Sunil

Siddhesh Gawade
Mega Sage
Mega Sage

Hello @VSN ,

 

1.Please confirm the conditions are not matching for the users the specified roles are not alloated to the users.

 

2. All check if there ia any other ACLs are giving the create access(Possible if user has access to parent table access).

 

3. You can add condtions in "New" button UI action as per your business requirements.

Example: gs.hasRole('role_name')

 

Kindly mark the answer ✔️Correct or Helpful ✔️If it addresses your concern.


Regards,

Siddhesh