• Resolved uafinsee

    (@uafinsee)


    Hi!

    There is a way to display the form to a specific user or group of users.

    But is it possible to give editing access in the back-end to specific users?
    Maybe even specific users to edit specific forms?

    It seems now I need to give my employees an admin privilege to be able to edit CFF forms.

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @uafinsee

    I’m sorry, but in the current version of the plugin only the administrators have access to the forms builder. However, you can modify it by editing the plugin’s code as follows:

    1. Open the “/wp-content/plugins/calculated-fields-form/inc/cpcff_main.inc.php” file with the text editor of your choice.

    2. Go to the piece of code:

    // Settings page
    add_options_page('Calculated Fields Form Options', 'Calculated Fields Form', 'manage_options', 'cp_calculated_fields_form', array($this, 'admin_pages') );
    
    // Menu option
    add_menu_page( 'Calculated Fields Form Options', 'Calculated Fields Form', 'manage_options', 'cp_calculated_fields_form', array($this, 'admin_pages') );

    and edit it as follows:

    // Settings page
    add_options_page('Calculated Fields Form Options', 'Calculated Fields Form', 'edit_pages', 'cp_calculated_fields_form', array($this, 'admin_pages') );
    
    // Menu option
    add_menu_page( 'Calculated Fields Form Options', 'Calculated Fields Form', 'edit_pages', 'cp_calculated_fields_form', array($this, 'admin_pages') );

    I’ve replaced manage_options with edit_pages

    Now, the users con editor role can access the forms builder.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Give form editing access to specific user’ is closed to new replies.