I have two custom post types. Schools and Advisors. I'd like to allow users (with the advisor user permissions) to create their Advisors profile (which is a custom post type) and choose which School (an already published post) they are in a relationship with. The form seems to work if I'm logged in as an admin but when I log in as an advisor and try to create my profile I can't see the schools to choose which one I'm in a relationship with.
How do you setup the post form and the relationship field?
Please edit the post form you mentioned in video, find the relationship field "School Advisers", make sure you have enabled option "Get options by any author", see screenshot: any-author.JPG
Thanks for writing back and for sharing the screenshot.
Luo will be away on vacations until Monday, so I'll be helping you with this ticket.
I've performed some tests on my website, with a similar post-relationship and form, but couldn't reproduce this behavior.
Can you please share temporary admin login details, so that I can investigate this in more detail?
( please also include the username and password for the advisor user, which is not seeing the schools in the list )
Note: Your next reply will be private and though no changes will be made on your website, please make a complete backup copy, before sharing the access details.
I was able to log in and check the relationship form and the custom post type settings, which seem to be correct.
The issue seems to be stemming from the user privileges/capabilities assigned to the custom user role "School Advisor" and to narrow down to the exact cause, I'll need to perform some tests, which can't be performed on a live website.