Change WordPress user roles and capabilities › Forums › Bug Reports › URE conflict with Gravity Forms › Reply To: URE conflict with Gravity Forms
29/08/2018 at 11:30
#5122
Vladimir
Keymaster
Mailchimp add-on defines own user capabilities:
– gravityforms_mailchimp;
– gravityforms_mailchimp_uninstall.
These capabilities were created automatically, but not granted to ‘administrator’ role. Go to ‘Users->User Role Editor’, select ‘administrator’ role and grant them to it.
/**
* Defines the capabilities needed for the Mailchimp Add-On
*
* @since 3.0
* @access protected
* @var array $_capabilities The capabilities needed for the Add-On
*/
protected $_capabilities = array( 'gravityforms_mailchimp', 'gravityforms_mailchimp_uninstall' );
/**
* Defines the capability needed to access the Add-On settings page.
*
* @since 3.0
* @access protected
* @var string $_capabilities_settings_page The capability needed to access the Add-On settings page.
*/
protected $_capabilities_settings_page = 'gravityforms_mailchimp';
/**
* Defines the capability needed to access the Add-On form settings page.
*
* @since 3.0
* @access protected
* @var string $_capabilities_form_settings The capability needed to access the Add-On form settings page.
*/
protected $_capabilities_form_settings = 'gravityforms_mailchimp';
/**
* Defines the capability needed to uninstall the Add-On.
*
* @since 3.0
* @access protected
* @var string $_capabilities_uninstall The capability needed to uninstall the Add-On.
*/
protected $_capabilities_uninstall = 'gravityforms_mailchimp_uninstall';