Bugfix: Prevent user/group deletion (rebased onto dev_5_0)



This is the same as gh-2426 but rebased onto dev_5_0.

----

With this PR it's not possible anymore to delete users or groups via the DEL key
See https://trac.openmicroscopy.org.uk/ome/ticket/12232