Skip to content

Deletion of last admin in users should not allowed

Created by: Shubham-TWI

Currently, admin has permission to remove it's own administrator privileges. There should be condition that last admin in the list of users should not be allowed to remove that privileges or delete user.