• Resolved NixXxon23

    (@nixxxon23)


    Hi,

    thanks for the great plugin.
    One thing would be great if you could change.

    In line 34 in the the file rearrange-woocommerce-products.php you check if the user has role admin or shop manager but it would be much nicer if you would check for the capability e.g.: “manage_woocommerce”.

    In my case I have custom user roles which are not admin or shop manager but I still want your menu to be displayed and thats only possible if you ask for caps.

    Sorry for my bad english. I’m not a native speaker (maybe in next life). But I hope you get the meaning. If not I’ll be happy to clarify.

    Best regards,
    Niko

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aslam Doctor

    (@aslamdoctor)

    Hello Niko,

    I agree to your point. I have added this task to the list. And will be adding a feature to select capability in next version update. I will have to add a settings page for this. So just thinking about what other settings I could add to this page.

    Thanks for your input.

    Plugin Author Aslam Doctor

    (@aslamdoctor)

    This check has now been added to current release. Please update the plugin to get advantage of it.

    Thank You.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘rwpp_register_my_custom_submenu_page | ask for cap instead of role’ is closed to new replies.