hoist-react icon indicating copy to clipboard operation
hoist-react copied to clipboard

Require admins to type out Role name as confirm when deleting a Role

Open amcclain opened this issue 5 months ago • 0 comments

Client request after an important role was inadvertently deleted in production.

We currently show a confirm with the role name included, but request is to have admin also type out the role name to confirm it is the one they wish to delete, as you see with other similar systems and potentially destructive deletes.

Some things to consider:

  • Make this optional, somehow? I am not averse to this - it's not an onerous requirement - but would there be some case where a development/admin team absolutely can't stand the extra step?
  • Why not for other sensitive items, like configs or prefs?
  • Also include more info in confirm dialog - e.g. clear listing of how many members a role has?

amcclain avatar Sep 16 '24 16:09 amcclain