Support

Account

Home Forums ACF PRO How to disable field editing in specific environment (live/staging)? Reply To: How to disable field editing in specific environment (live/staging)?

  • Hi,

    If i’m right, you just want to avoid user with back-end access to make change on ACF. I don’t know if you can disabled field editing on specific environnement (live and staging) but you can simply change the capability needed to access ACF editing with the ‘acf/settings/capability’ filter.

    I made the same for my website :

    1) Create a specific capability named ‘edit_acf’
    2) Set this specific capability as access rule for ACF with ‘acf/settings/capability’ filter
    3) Add the specific capability only to role/user you want

    This will not make your “staging ACF json” as “source of truth” but you’ll be sure that’s user can make change.

    Hope it’s solve your issue