• We’ve been using Import and Export Users and Customers for a while now and it has worked perfectly for the Administrator Role and for a Custom Role (named Membership Administrator) that we created and which has the role capabilities needed to run the plugin on the frontend. However, in the last 10-14 days, while the Administrator can still run an import from the frontend, it no longer works for our “Membership Administrator” role. I don’t know if this is related to the WordPress 5.5 release but neither the version 5.5.1 upgrade or installing jQuery Migrate Helper resolved the issue.

    Can anyone tell me exactly which role capabilities are needed to import files from the frontend with this plugin? I’ve allowed import/export, create/edit users and promote users but the issue persists.

    Thanks for any help or direction you can provide!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @crgcrecsec,

    We have not changed anything about it, so it is really strange it worked before and now it is not working.

    The capability that should allow you do it is: ‘create_users’.

    Thread Starter crgccommsec

    (@crgcrecsec)

    Hi Javier,

    This issue has not been resolved. However, after seeing the “import failing” post made today (8 hrs ago) where you responded that there was a conflict with WC Subscriptions we began addition troubleshooting. While we do not use WC Subscriptions, we do use other WooCommerce plugins including: WooCommerce 4.5.2, WooCommerce PayPal Checkout Gateway 2.0.3, WooCommerce Menu Cart 2.9.5, and WooBuilder Blocks 3.6.0.

    We initially deactivated these 4 plugins and “Import and Export Users and Customers” began working again for roles with the create_users capability. We then reactivated the WooCommerce plugins one by one and we were able to isolate the issue to the main WooCommerce 4.5.2 plugin.

    Would you kindly take a look at this? We would be grateful to have a solution to this conflict as we have really come to rely on your plugin but we also need to maintain our online store.

    Thank you!

    Plugin Author Javier Carazo

    (@carazo)

    @crgcrecsec,

    We have included in latest version a filter to override the standard capability.

    What about if we include a filter to filter the frontend capability.

    We can try it but if your user cannot create users it won’t be useful.

    Thread Starter crgccommsec

    (@crgcrecsec)

    Hi Javier,

    Thanks again for your quick response. I’m not sure what you mean by saying “if your user cannot create users”. Frontend import is failing for our users who DO HAVE the create_users capability. In addition, we DO HAVE the latest version (v 1.16) of the Import and Export Users and Customers plugin installed. And, when we deactivate WooCommerce v 4.5.2, Import and Export Users and Customers import DOES WORK on the frontend for these users.

    Another observation that may be helpful to you in working to solve this is that Import and Export Users and Customers continues to work for users with the Administrator role whether WooCommerce is activated or deactivated.

    We will gladly work with you in an effort to resolve this issue. If we can support you by performing any troubleshooting steps for you, we are happy to help.

    Kind regards

    Thread Starter crgccommsec

    (@crgcrecsec)

    Hi Javier,

    In addition to my response back to you earlier today (see above), we have additional information discovered during our troubleshooting … we rolled Import and Export Users and Customers back from version 1.16 to version 1.15.6.2 and the Frontend Import works perfectly for Administrators and users with the create_users capability even with WooCommerce enabled.

    Hopefully, this will help you to identify what changed after version 1.16.6.2 to trigger the issue we’ve reported.

    Thank you and kind regards

    Plugin Author Javier Carazo

    (@carazo)

    I have checked again and it is working correctly.

    Which is the message/error it appears? What happens?

    Thread Starter crgccommsec

    (@crgcrecsec)

    With WooCommerce enabled all versions of the Import and Export Users and Customers plugin DO work for Administrator users. However, only versions UP TO version 1.15.6.2 work for non-admin users who DO HAVE the create_users capability. Versions after 1.15.62 thru version 1.16.1 DO NOT WORK for non-admin users when WooCommerce is enabled.

    With WooCommerce disabled all versions of the Import and Export Users and Customers plugin DO WORK for Administrator users AND for non-admin users who HAVE the create_users capability.

    When the newer versions of the plugin fail for these users, the “Inserting and updating data” message displays and the import file header row displays, but no import records are displayed, no error message is displayed and the records are not imported.

    Please let me know if you would like us to do further testing to assist you.

    Kind regards

    Plugin Author Javier Carazo

    (@carazo)

    Oh sorry I have understood know.

    But when you tell me it is not working, what exactly happens? This does not appear in the menu? There are errors importing?

    Tell me and we debug it.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Role Capabilities required for frontend import???’ is closed to new replies.