Home Forums Feature Requests Add custom capabilities for field editing

Add custom capabilities for field editing

  • Currently, custom field editing capability is tied to the admin role. It’d be great if instead, you used a custom capability, like acf_edit_fields, and then make editing access conditional with current_user_can('acf_edit_fields'), which would by default be added to the admin role (so it’d behave as it does currently by default).

    Using a custom capability this way would allow for much more control over who has access to field editing. For instance, if there were multiple admins, we could use filters to remove acf_edit_fields from all but one admin.

  • Hi @mannieschumpert

    Thanks for the post. Just to clarify, this is regarding editing a field group, not editing a field value.


Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Add custom capabilities for field editing’ is closed to new replies.