Sauter la navigation

[Résolu] access control

This support ticket is created Il y a 5 années et 1 mois. 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 2 réponses, a 2 voix.

Dernière mise à jour par FuChan Il y a 5 années et 1 mois.

Auteur
Publications
#1566349

Toolset Access seems to set access control for fields group and NOT for individual field. Am I right?

Among the custom fields that I create for the CPT, I want to set only one field (slug: phone) visible to a specific role. All other fields can bee seen by public.

How can I make it possible?

#1566461

Yes, that's right, only the Field Group can be controlled by Toolset Access as a whole.

To achieve what you mention you need either custom code that we cannot provide here in the forum or, you would need to create another, separate Custom Field Group to control it by user/user role.

You can also suggest more granular control over those Fields here https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

Thanks!

#1567087

My issue is resolved now. Thank you!