Home Forums Pre-purchase Questions Field permissions (view only)


Field permissions (view only)

  • Hello,
    I wanted to know if it was possibile to set a field to view only. For example:

    “Admin” can edit everything.
    “User1” can edit everything except for a couple ACF fields, but can view the contents of those fields.

    Basically, I need “edit” and “view-only” permissions for each ACF field.

  • There is nothing built into ACF that will do this. There are filters in ACF that will allow you to customize it and do this for some types of fields.

  • Hi, you can use this filter:

    set $field['disabled'] = 1; by checking user’s role, restrict user from editing the field.
    (Note: user still can edit after removing disabled="disabled" in developer console)

    better yet, return false.

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

The topic ‘Field permissions (view only)’ is closed to new replies.