• Resolved corneliuscz

    (@corneliuscz)


    Hello,
    I’m using your plugin for a client website but I don’t want to give them admin permissions just to access CF7 form submitted data. (As I would have to because the user capability for access is manage_options) Have you guys considered creating custom capabilities – acf7db_access_entries and acf7db_edit_entries – assigning them to the Admin role by default and using these to secure the access to plugin functions? Experienced users and devs could then assign those capabilities to other roles as they need.

    Thanks in advance for info.
    Josef

    p.s. I know I can modify the plugin code myself but that is not the way I’d like to do it as any future update would wipeout my changes.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello Josef and hello developers,

    I’m also looking for this capability function. Giving some users manage_options capabilites is far too much in my opinion. Basically, my case is the same as Joseph’s.

    Implementing this would be very nice. Thank you in advance.

    Plugin Author Vsourz Digital

    (@vsourz1td)

    First of all, Thanks for using our plugin and share your though to make it more usable.

    Actually, We are focusing on same(capabilities), We are planing to provides custom capabilities for CF7 entry usage such as restrict particular user role to access our overall admin screen or provide limited access to see particular form related data only.

    We will deploy this functionality as soon as possible.

    Thank you very much for your positive reply to our request.
    I don’t know about Josef, but I am pretty happy and excited to get the update.

    Thanks again, very cool ??

    Kind Regards

    • This reply was modified 7 years, 2 months ago by Clickadelic.
    Thread Starter corneliuscz

    (@corneliuscz)

    Hi gents, thanks for a great news, I’m looking forward to this change ??

    All the best

    I also had this problem.
    Temporary solution:
    edit class-advanced-cf7-db-admin.php
    Chenge

    	function vsz_contact_form_callback(){
    		//Check current user permission
    		if (!current_user_can('manage_options'))  {
    			wp_die( __('You do not have sufficient permissions to access this page.') );
    		}
    		wp_enqueue_style('vsz-cf7-db-admin-css');
    		//Define all entry related design in this file
    		require_once plugin_dir_path( __FILE__ ) . 'partials/contact_form_listing.php';
    	}

    for this

    		// Callback function for listing screen
    	function vsz_contact_form_callback(){
    		//Check current user permission
    		if (!current_user_can('administrator') && !current_user_can('editor')) {
    			wp_die( __('You do not have sufficient permissions to access this page.') );
    		}
     
    		wp_enqueue_style('vsz-cf7-db-admin-css');
    		//Define all entry related design in this file
    		require_once plugin_dir_path( __FILE__ ) . 'partials/contact_form_listing.php';
    	}
    

    hello,

    any update about this capability?

    • This reply was modified 6 years, 8 months ago by Suhimi Nain.
    Plugin Author Vsourz Digital

    (@vsourz1td)

    Hello All,

    We are glad to let you know, that we have the commercial plugin up in the market to provide the user access to our Contact form DB. You can check out the other plugin too with more features.

    Hope all of our users will enjoy using the commercial plugin.

    You can find the link to our commercial plugin on the plugin page itself.

    Regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Access permissions for plugin’ is closed to new replies.