• Hello!
    Is there a way to allow a shop manager role permission to access a specific plugin settings?
    As far as i see, i can allow/disallow access to all plugins, but i would like to limit this permission to a specific plugin.
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi,

    It depends from a plugin. If it uses unique capability to protect its settings, then you can. If it uses WordPress internal ‘manage_options’ capability, like a lot of plugins do, you can not without using additional custom features, like Pro version “Admin menu blocking” add-on or similar.

    Thread Starter djwilko12

    (@djwilko12)

    Thank you Vladimir.
    Would you please guide me on how should i do in order to check whether that specific plugin uses a unique capability and how can i allow a shop manager to manage it? Waiting your reply. Thanks

    Plugin Author Vladimir Garagulya

    (@shinephp)

    1) Ask question to plugin support and/or developer;
    or
    2) Make context search through .php file inside plugin folder for these patterns:
    ‘current_user_can’, ‘add_options_page’, ‘add_menu’, ‘add_submenu’. You can find the used user capability inside these commands, if plugin use them.

    Thread Starter djwilko12

    (@djwilko12)

    Hi Vladimir
    Thanks for your fast reply and sorry for this confusion. What i meant was, in case the plugin is using this unique capability, my intention was to ask you how to do in your plugin to create a specific access to shop manager role to this specific plugin´s settings.
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin level permission’ is closed to new replies.