WordPress.org

Forums

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

  1. lOOis
    Inactive
    Posted 2 years 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 2 years ago #

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

  3. lOOis
    Inactive
    Posted 2 years 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 2 years 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
    Inactive
    Posted 2 years 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

  • User Role Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.