I have two custom types "Aktuere" and "Angebote". The two are in a one-to-many relationship (One "Akteure" to many "Angebote").
I have limited the access rights for users but they should be able to set the relationship between their own "Aktuere" and their own "Angebote". I can't find where to set these rights for this specific role.
Are your user's creating the relationships on the frontend ? Or is it done on the backend.
The reason is because on the frontend you have the option to filter the relationship field so the user will only see the parent posts they created. See Screenshot
You have the option in our toolset forms to "Get only options by the current author".
Please let me know if this helps or if further clarification is needed.
This is done in the backend. And it looks like this (admin view) as an admin (see the two buttons to connect to an "Akteur".
But these two buttons are missing if I am logged in as a user with a different role. And I can't find the option to get theses buttons for the user.
Ideally, if the buttons are there, they would only show their own content.
This is perhaps because of your permissions that were set for the post types, Ensure that the user has Read/Edit access to the parent/child post type.
Secondly if you're doing this through the backend then you won't be able to restrict the user to only seeing their posts without the use of custom coding.
Unfortunately such custom coding would be out of the scope of our support forum. The only provision we have for this is to do it through the frontend with our Forms plugin.
Thank you Shane,
can you guide me to the correct backend right setting for this feature? I can't find the parent-child restriction in the access rights settings.
can you guide me to the correct backend right setting for this feature? I can't find the parent-child restriction in the access rights settings.
You are not able to do such restrictions on the backend. It is only possible to restrict by the Current user on the Frontend Only using our Forms plugin.
If you want the guidelines on how to do this on the frontend I can give you that but its not possible to do on the backend.
I changed the system now to the frontend. But it still shows all the "akteur" and not just the ones from the current user. Sadly I could not figure out where the settings are that you showed on the screenshot. I do use a user content form and the last option of this is to select the parent (akteur) to this child (angebot). (See screenshot, it should only show one option there)