Skip Navigation

[Resolved] I need to grant specific users access to specific posts (and their children)

This support ticket is created 5 years, 6 months ago. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 1 reply, has 2 voices.

Last updated by Beda 5 years, 6 months ago.

Assisted by: Beda.

Author
Posts
#1242353

Hi,

I have a website where users can create projects and tasks.
Each user should have access to one or more projects and their associated tasks.

I need multiple users to have access to the same project and its associated tasks. Is this possible yet using Toolset and Access?

Thank you

Adrian

#1242488

What you can do is either control every single post with a single Access Group Rule or, control the entire Post Type with General Access Rules.

What is important to know with Posts that are in relation to each other, is that when a user has permission over the Type A, but not the Type B, then the user can indeed add new Type A Posts but won't be able to connect them to Post Type B posts or create those.

You cannot control certain posts in Post Type A sand certain posts in Type B in a more granulated way than using Post Groups in Toolset > Access, however, each of those groups will apply it's rules to the Posts controlled by it to the users affected by its settings.
At the moment of setting the Post Group for a single post, you cannot dynamically alter the list of User roles affected or the rules of the group themselves, if that is what you are concerned with.

In your case where you need multiple users to have access to the same project and its associated tasks, you would create a custom user role or use an existing one, and group all those users who are affected by the same rules into that role.
Then, you'd control either the entire post types in Toolset > Access and set rules for those roles, or, you'd create a Post Group if you want to control single posts with different rules.
If you have another group of users that is supposed to do other things you'd simply create a new role and start over by setting the rules for that new role in the single posts or the entire post types.

I hope this helps!