Change WordPress user roles and capabilities › Forums › Give user access to plugin – how to › Prevent Admin user from removing other Admin users › Reply To: Prevent Admin user from removing other Admin users
24/05/2019 at 01:42
#5705
Vladimir
Keymaster
If you revoke ‘ure_manage_options’ capability for user, he will lose access to Settings->User Role Editor page and stop be superadmin for URE.
Workaround scenario:
If you do not use plugins which directly require ‘administrator’ role instead of some user capability, you may create a copy of ‘administrator’ role for additional administrators and block this role (and users with this role) from themselves via “Other roles access” add-on.
Then do not use user with ID=1 in a daily work.