netmix / radio-station

Radio Station WordPress Plugin (Open Source)
https://netmix.com
GNU General Public License v3.0
20 stars 14 forks source link

[Roles] Give Host/DJ author rights to publish/be assigned to posts #399

Open tonyzeoli opened 2 years ago

tonyzeoli commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

From Michael at KISS FM. He found that Host/DJs cannot be assigned as the Author of a Post, as they are not available under the Author's dropdown menu when publishing a Post.

To Reproduce Steps to reproduce the behavior:

  1. Go to the Users table in the demo site and you'll see four admins and the rest Host/DJs and Producers
  2. Then go to any Post and click on the Authors drop down to reveal who can be selected as the Post Author
  3. You'll see that only a User assigned as an Admin or Author will show up in the Post Authors drop down menu.

Expected behavior A clear and concise description of what you expected to happen.

Host/DJ, Producer should be available in the Posts Author drop-down menu.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

majick777 commented 2 years ago

@tonyzeoli Missed this one. What he can do is give those particular users an Author role, and then make sure on Roles tab on the plugin settings page, the setting "Add to Author Capabilities" is checked. This means Authors can publish shows.

I realize this is the other way around but achieves the same effect. We can discuss further whether we need to add extra settings for "Allow Hosts/DJs to Publish Posts", "Allow Producers to Publish Posts" and even "Allow Show Editors to Publish Posts".