I have set a one to many relationship within posts and a custom post type (society).
When I'm connected with an administrator user and I set the parent society, everything works as expected.
But when I'm connected with an author user, I enter the first letters of the society in the search field but there is no results found.
Therefore, I can acces to the "See all societies" page in the back-office when I'm connected as author.
What am I doing wrong ?
Thanks in advance,
Mat
Dear Mat,
The author user can only see posts created by himself in admin side, if the "society" post is not created by the author user, he will not be able to see that "society" post in parent selector.
In your case, I suggest you use Access plugin to allow author user be able to edit "society" post, for example:
1) Install Access plugin, you can download it here:
https://toolset.com/account/downloads/
2) Dashboard-> Toolset-> Access control-> Post Types
Find section "society":
- Enable option "Managed by Access"
- Enable permission "Edit any" for "Author" user role.
And test again