WordPress.org

Forums

User Role Editor
Allow one user to access only one plugin (2 posts)

  1. dh00
    Member
    Posted 2 years ago #

    Hello.

    I hope someone can help me with this.

    I would like to have one user. i.e called "Banner" to ONLY have access to one plugin.
    This should be a user account that only has access to this plugin and nothing else.

    The plugin is: http://wordpress.org/plugins/useful-banner-manager/

    Thanks. Dh

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

  2. Vladimir Garagulya
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,
    At file useful-banner-manager.php, line #112:

    add_menu_page( __( 'Banners', 'useful-banner-manager' ), __( 'Banner Manager', 'useful-banner-manager' ), 'manage_options', 'useful-banner-manager/useful-banner-manager-banners.php' );

    plugin defines its own menu and uses 'manage_opitons' capability to restrict access to it. That is plugins author supposed that "Administrator" uses his plugins.
    If you wish to change it you should edit this file. For example, create new role, add capabilities 'read' and new one 'useful-banners' to that role. Assign that role to the user. That user will see 2 menu items only: user profile and "Banners".
    The problem is that if you wish that user has access to the plugin's widget you should give him 'edit_theme_options' capability, which is little wider than access to one plugin only.

    Regards,
    Vladimir.

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.