Skip Navigation

[Resolved] Allow only some categories editing with Types Access

This thread is resolved. Here is a description of the problem and solution.

Problem: I would like to restrict edit access to some posts using categories.

Solution: Access can restrict User access based on User role and post group, but not post category (or categories). Post Groups and custom User roles might work but you can only assign one Group to any Post, and only one Role to any User. If you have multiple combinations of post permissions this might not be an option. If your Users are only editing posts with CRED, then you can use conditional HTML or CRED conditionals to show or hide specific content depending on some criteria of the current User, like a custom field value. Store some value in the User's custom field and check that value to determine whether or not to show them a specific CRED form.

Relevant Documentation:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/
https://toolset.com/documentation/user-guides/conditional-display-for-form-inputs/
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/

This support ticket is created 6 years, 9 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by Franco Calcagni 6 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#615347

Tell us what you are trying to do? We need to create a user profile for editing the articles belonging only to specific categories, is it possible to define it with Access plugin?

Franco

#615367

Access can restrict User access based on User role and post group, but not post category (or categories). Post Groups and custom User roles might work but you can only assign one Group to any Post, and only one Role to any User. If you have multiple combinations of post permissions this might not be an option. If your Users are only editing posts with CRED, then you can use conditional HTML or CRED conditionals to show or hide specific content depending on some criteria of the current User, like a custom field value. Store some value in the User's custom field and check that value to determine whether or not to show them a specific CRED form.

https://toolset.com/documentation/user-guides/conditional-html-output-in-views/
https://toolset.com/documentation/user-guides/conditional-display-for-form-inputs/
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/

#615370

Hi Christian, thanks for the infos, we will install a specific plugin to restrict user acces to a specific category