How to disbale the Global "delete" button for CIM Module

phr
Tera Contributor

Hi All,

 

I Have a requirement that the "Delete" button for CIM Module should be available only for certain roles. I did Create an ACL with the same. But there's also a global delete button. 

How to disable the global "delete" button for CIM Module.

Attaching the images for reference.

How to achieve this.

 

(note: I am not able to edit the global delete button)

 

The Global delete button ACL

phr_0-1719465905652.png

 

The custom delete button for CIM Module:

phr_1-1719465960243.png

 

 

4 REPLIES 4

Mark Manders
Mega Patron

You can apply roles to the Global action as well. That will hide it for anyone without that role, or add to the conditions that certain tables should be excluded.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

phr
Tera Contributor

Hi @Mark Manders ,

 

There's actually a delete acl that is visible to only users with role "sn_cim.improvement_manager" for CIM Module. I figured out that there are even the global "delete" ACL's that is been running. I tried adding the condition but did't work. How to hide the Global delete Button for "sn_cim_register" table?

Attaching the images for reference.

 

The below highlighted ones are the Global ones:

phr_0-1719471261635.png

I need to restrict these for the table "sn_cim_register"

 

Thank you.

Trupti94
Tera Guru

Hi @phr ,

 

You can add the roles in required role or else you can check the scope/application in script include and call the script include from condition field of UI Action-

 

 

Trupti94_1-1719471692581.png

 

Thanks,

Trupti

phr
Tera Contributor

Hi @Trupti94 ,

 

I found there are Delete ACL's but not the UI actions.

How can i achieve this through Access controls?

 

Thank you.