• Hi Guys,

    Is it possible to add a new user in wordpress with all the adminastrator options but who cant delete the administrator who made the site?

    So they have all options but cant remove the website builder?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Bill

    (@chubbycrow)

    I suppose you could use a custom-roles and capabilities plugin, and create a role that doesn’t have edit_user or delete_user capabilities. The bigger question though, is why you’d want to give admin capabilities to someone who can’t be trusted to not delete the site’s creator?

    Thread Starter sportfeed

    (@sportfeed)

    Because i want to make a webdesign service where people can pay per month and after 30 months the site is their own. Before the 30months it’s still my propperty. So someone can take disadventage of this and delete me as admin and dont pay anymore and they still have the site.

    But that plugin is sepperate plugin from the standard wordpress roles?

    Bill

    (@chubbycrow)

    I see. Well there’s at least a couple ways of approaching this. If I were intending to sell a site, I would go ahead a set it up as just that: a separate site, that they could really own without it being tied into my other projects or assets.

    Another option might be to set up WP as a multisite network, where you have the ability to create new sites as super-admin. Super-admins have capabilities that regular single-site admins do not, such as optionally controlling themes and plugins, etc. I personally have never needed to set up a MS network so you’ll need to look into the details in the codex.

    Thread Starter sportfeed

    (@sportfeed)

    Yes i want to make a different site for each customer. But the customer can manage his own theme colors, texts etc. The only thing i need is that they cant delete me as admin but all other options are available for them. So the only thing i need is a way they cant remove me as admin.

    Bill

    (@chubbycrow)

    In multisite, I believe that super-admins can allow regular admins to change and customize themes if they like, but as I said, look into this in the documentation.

    As far as not removing you as admin, as I said above:

    use a custom-roles and capabilities plugin, and create a role that doesn’t have edit_user or delete_user capabilities

    There are many to chose from.

    Thread Starter sportfeed

    (@sportfeed)

    Thanx for the info i will take a look at the plugins!

    Bill

    (@chubbycrow)

    You’re welcome, and good luck.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress Roles’ is closed to new replies.