I am trying to: Set non-admin user as author for a cpt managed by Access
Link to a page where the issue can be seen:
I expected to see: full list of all users
Instead, I got: only admins and current author
I have tried disabling non-essential plugins and changing the theme to 2020 but it makes no difference. If I set the CPT to be not managed by Access, it works as expected.
Hello,
I have tried the credentials you provided above, it is not valid. I get below error message:
Error: the password you entered for the username toolset is incorrect
Please check it.
You can also provide a copy of your website in below private message box, also point out the problem post URLs.
https://toolset.com/faq/provide-supporters-copy-site/
Apologies, please try again with the same password. The CPT I was talking about is lawyers. To be more specific, I've noticed actually that it is not non-admins who do not appear on the author selector, it is the custom role Member, which is most of the site users (there is a user with role Author who does appear). Is there a permission for the Member role I need to enable?
I've now tried creating a new role Member2 and copied permissions from the built-in Author role, and that works. So it seems to be something in the Member role. I then matched the permissions of Member2 to Member, and Member2 still works. So as a workaround I could go through and change the role of all the users on the Member role to a new Member role, but it would be nice to know what the problem is. And I am puzzled because it used to work, when I set up the site, and I haven't changed anything since with the roles.
Thanks for the details, you need to allow custom user role "Member" to publish the "Lawyer" posts.
I have done below modifications in your website:
Dashboard-> Toolset->Access Control-> Post Types:
in section "Lawyer", row "Member", enable permissions: Publish, Delete own, Edit own
Test it here:
hidden link
I can see those users in the "Author" dropdown, please check if it is fixed, thanks
More help:
https://toolset.com/course-lesson/setting-access-control/
Thanks. I think I had disabled that option because I don't want members to be able to publish their posts, only save drafts for review. In which case, is enabling that setting not an issue? And as I say, I'm pretty sure the author selector was working previously with that setting disabled.
Sorry, see previous comment.
According to WordPresss document:
https://wordpress.org/support/article/roles-and-capabilities/#author
It is required to allow "publish_posts" capability to author.
Please elaborate the questions with more details:
Is there any modifications in your website recently?
How can I see the this:
"Member" users display in the author dropdown even without "Publish" capability?
Please provide detail steps to reproduce the issue, thanks
My issue is resolved now. Thank you!