• Resolved Nicolas Widart

    (@nicolas-widart)


    Hi,

    I see that the plugin still uses the old user levels, this has been depreciated since 3.0.
    I have a custom user role called ‘clients’ and I would like them to be able to user the order function.
    I’ve tried with the members plugin, to give them access to it, but it doesn’t work.

    Anyway this can be done?

    Thanks,
    Nicolas

    Edit: I’ve managed to show the menu by editing line 420 of post-types-order.php so it doesn’t use the userdata_get_user_level() function, but instead locked it to one capability. This isn’t ideal though, I imagine.

    https://www.ads-software.com/extend/plugins/post-types-order/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nsp-code

    (@nsp-code)

    Hi Nicolas,
    This is updated and use role capabilities instead levels, In case you use custom roles, you should update accordingly to the following capability usage :

    Subscriber – read
    Contributor – edit_posts
    Author – publish_posts
    Editor – publish_pages
    Administrator – install_plugins

    Thanks

    Thread Starter Nicolas Widart

    (@nicolas-widart)

    Great, thanks a lot. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom user role access’ is closed to new replies.