• Is there a way to create a kind of “super-admin” which could not be changed or deleted by any admin level user? We are looking to hire someone to maintain our site (eg clean up users, clean out spam, etc.) from time to time, but I don’t what this person to have the “keys to the city”. For example, the admin suddenly turns on use and then deletes my admin account to the site I own and starts to wreck havoc with the site. I’d still like to have ultimate control.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter tokyotony

    (@tokyotony)

    Yes, thanks. So no way to make one admin that cannot be deleted by other admins, say through a plugin or coding?

    popmythology

    (@popmythology)

    I’m curious about this question too as it seems to make sense to have one overarching meta-admin who has control over everything. And then admins under him who can update the site and add plugins, etc. but can’t, say, delete the whole site if he was angry about something.

    Bump

    There is no distinction between Super Admins. They each have the same amount of power and can demote each other.

    In just a few lines of code, you could create a plugin that ensures that a particular user always exists and is a Super Admin, but that is a hack at best.

    The rational here is that if a user has the ability to add and activate plugins, he essentially has ultimate control because you can do pretty much whatever you want in a plugin. So, even if you figured out a way to limit a Super Admin from deleting an account, you would still have the potential for that same user to write a quick plugin that does just that.

    All that to say, it is probably not wise to have a user managing plugins that you don’t trust %100.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to create super-admin’ is closed to new replies.