Passer la navigation

[Résolu] Assign access to a specific CPT (Parts) for specific User

This support ticket is created Il y a 3 years, 3 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Ce sujet contient 1 reply, a 2 voix.

Dernière mise à jour par Christopher Amirian Il y a 3 years, 3 months.

Assisté par: Christopher Amirian.

Auteur
Publications
#2562815

Tell us what you are trying to do?

I'm trying to setup a platform that we can make parts available to specific users; these are the users' IP so should only be visible to admin and the specific user.

Is there any documentation that you are following?

We have looked through your documentation but are struggling to find a way. We were hoping to link users to a specific post and only allow users that are linked to be able to see that post.

Is there a similar example that we can see?

What is the link to your site?

We have not started building this yet, we wanted to understand how first.

#2563535

Christopher Amirian
Supporter

Les langues: Anglais (English )

Hi there,

If I understand you correctly you have a custom post type called Parts and you added some part in WordPress already

Then you have WordPress users added and now you want for example a specific part to be available only to specific users.

If that is the scenario, I suggest that you use Toolset access and follow the steps mentioned below:

https://toolset.com/course-lesson/restricting-access-to-pages/

So basically you will create a post group. Add the parts that you want to be available for the group.
And add the users to that group.
Then you can decide to allow those users to have the read permission and all others to avoid having the read permission.

Thanks.