WordPress.org

Ready to get started?Download WordPress

Forums

User Role Editor
[resolved] How to prevent users to delete their site (multisite) (5 posts)

  1. lOOis
    Member
    Posted 1 year ago #

    Hello again,

    It seems that I can't remove the "delete my site" link under tools menu. I guess that's related to a multisite capability but which one?

    How could I remove this link for my "SiteManager" role (between an admin and a editor) ?

    http://screencast.com/t/36BZpmPvTvC

    Thank you very much

    http://wordpress.org/extend/plugins/user-role-editor/

  2. Vladimir Garagulya
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,
    WordPress uses 'manage_options' capability for 'Delete Site' menu item under 'Tools' menu.

  3. lOOis
    Member
    Posted 1 year ago #

    OK. Therefore if I'm correct I can't disable "delete site" without disabling all other options belonging to "manage_options" using wordpress capabilities ?
    Thank you

  4. Vladimir Garagulya
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, you're correct.
    If that's critical, then there is workaround: "Admin Menu Editor"
    http://wordpress.org/extend/plugins/admin-menu-editor
    allows to change capability, responsible for menu item, on the fly.

  5. lOOis
    Member
    Posted 1 year ago #

    Yes, I already bought the pro version and it works indeed.
    Thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.