• Resolved theotheo

    (@theotheo)


    So branda works perfectly but i had one slight issue with this plugin License Manager. While as an admin i see the plugin in the woocommerce submenu when i log in as a certain user role to test i don’t see it anywhere. I haven’t hidden it from branda admin menu settings since it doesn’t even show. I tried adding a custom item and pasting the plugin link but when i tested again it wouldn’t allow access.

    Is there any solution?

    • This topic was modified 2 years, 2 months ago by theotheo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @theotheo !

    I trust you’re doing great today!

    I’ve checked the plugin and its code and from what I see, it’s not an issue on Branda’s side. Branda will show the menus based on the permissions provided by the plugins.

    In this case, the License Manager only shows its menus for administrators – in the code they have this to add the submenu:

     $licensesHook = add_submenu_page(
                self::WOOCOMMERCE_PAGE,
                __('License Keys', 'license-manager-for-woocommerce'),
                __('License Keys', 'license-manager-for-woocommerce'),
                'manage_options',
                self::LICENSES_PAGE,
                array($this, 'licensesPage')
            );
            add_action('load-' . $licensesHook, array($this, 'licensesPageScreenOptions'));

    This manage_options option is basically “if user can manage options” and only admins have this permission. So it’s hardcoded in the plugin and it won’t be displayed for anyone else, including in Branda’s editor for other user roles.

    I also don’t see an option to change that in the plugin’s settings (no wonder, since it’s hardcoded).

    In this case I’d suggest to contact the plugin’s support and check with them if they could provide a fix/snippet to change the settings so you can reassign the menu to a different user role.

    Kind regards,
    Pawel

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @theotheo,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.

    Best Regards
    Nithin

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with showing a certain plugin in admin area’ is closed to new replies.