WordPress.org

Ready to get started?Download WordPress

Forums

Post Types Order
[resolved] Custom user role access (3 posts)

  1. Nicolas Widart
    Member
    Posted 1 year ago #

    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.

    http://wordpress.org/extend/plugins/post-types-order/

  2. nsp-code
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. Nicolas Widart
    Member
    Posted 1 year ago #

    Great, thanks a lot. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic