Delete ACL role on a custom table

KB15
Giga Guru

I'm trying to grant someone delete rights on a custom table. Roles are defined in the table and the user has that role however the delete button doesn't appear on either the list or the record level. It only shows "update".

Do I need to update an existing UI action to make it appear or a create a custom UI action or something else?

1 ACCEPTED SOLUTION

johnfeist
Mega Sage
Mega Sage

HI KB,

You need to add a UI action to create that button.  ACLs cover who has the rights to perform certain actions.  That doesn't create buttons or initiate actions.  The easiest way to add a delete button is to look in the global UI actions and then clone a basic delete button for your table.  Don't change an existing one as that may create really nasty side effects.  Be sure to include the necessary conditions, e.g. gs.getUser.hasRole().

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

View solution in original post

4 REPLIES 4

Prateek kumar
Mega Sage

 

See if this helps.

https://www.servicenowelite.com/blog/2014/2/14/deletion-methods


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Bharath40
Giga Guru

 

 

johnfeist
Mega Sage
Mega Sage

HI KB,

You need to add a UI action to create that button.  ACLs cover who has the rights to perform certain actions.  That doesn't create buttons or initiate actions.  The easiest way to add a delete button is to look in the global UI actions and then clone a basic delete button for your table.  Don't change an existing one as that may create really nasty side effects.  Be sure to include the necessary conditions, e.g. gs.getUser.hasRole().

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

pbusch
Tera Expert

Thanks for this advisement , very helpful.

~ "Breynia Disticha"