User Role Editor
Can't assign posts to users who belong to a custom role (3 posts)

  1. alby54
    Posted 1 year ago #

    This is quite weird... I created few roles starting from a copy of the default Author role and such roles have the same capabilities of authors plus a couple of more things. When I create a post as admin and want to assign it to one of the users who belong to those roles they do not appear in the list. So I have to set the user back to Author, edit and update the post, then set it back to the proper custom role.
    Does anyone know why is this happening? Is it the way it is supposed to be?..'cause it seems like wp do not understand that these custom roles have all the necessary capabilities to publish posts.



  2. Vladimir Garagulya
    Plugin Author

    Posted 1 year ago #

    In theory user levels were deprecated with WordPress 3.0. But checking post_author_meta_box() and consequently wp_dropdown_users() function I discovered that they are still in action, at least for Authors dropdown menu. This function selects authors by this criteria

    wp_usermeta.meta_key='wp_user_level' AND wp_usermeta.meta_value!=0

    They still exclude subscribers this way, I suppose.
    So try to turn on the "Show deprecated capabilities" option and check if 'level_0', 'level_1' and 'level_2' are turned on for your author copy role.
    You need to switch your user to the other role temporally, update profile, and change back again in order these levels changes would be written into the user's meta data.

  3. alby54
    Posted 1 year ago #

    Yes, that's the first thing I did......with no change. I found a workaround though by checking off the role 'Author' in 'Other Roles'.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Role Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.