Unable to Authenticate
-
When I set one of my support managers to the role, it sends them a message: Unable to Authenticate.
-
Thanks for reporting this. It’s a known issue that I’m working on fixing. Should have the patch live within the week. Apologies about the inconvenience.
I made the temporary solution to this by removing !is_super_admin() in wpsc-support-tickets.php file:
/**
* Beginnings of the new permission system for 5.0
*/
function checkPermissions() {
if ( !is_super_admin() || (function_exists(‘current_user_can’) && !current_user_can(‘manage_wpsct_support_tickets’)) ) {
die(__(‘Unable to Authenticate’, ‘wpsc-support-tickets’));
}
}And put like this:
/**
* Beginnings of the new permission system for 5.0
*/
function checkPermissions() {
if (function_exists(‘current_user_can’) && !current_user_can(‘manage_wpsct_support_tickets’)) {
die(__(‘Unable to Authenticate’, ‘wpsc-support-tickets’));
}
}It’s a temp fix so dev can fix it. My support managers aren’t super admins so they fail in this check ??
Btw you had changed the permission to wpsct and now i have the two, wpsct and wpsc registered in my website.
Cheers.Edit: I forgot to say that i love this plugin ??
Hi,
Just checking to see if this issue has been fixed?
Thanks
HasnainPatched in 4.9.3
I just bought the pro version. It worked for about 2 days before my Woocommerce shop manager is now getting “Unable to Authenticate”
The only way I can get my shop working right is to deactivate this plugin.
Any fix for this?
If not, please refund my money. I am posting here as I am not getting any response from the dev’s support system.
Thanks,
MJ
MJ,
Thank you for your support and sorry to hear you encountered an issue. I’ll be happy to resolve it for you.
First off, are you running the latest version of wpsc Support Tickets 4.9.24? If not, I recommend upgrading immediately.
The next thing to ascertain is: does your user with the Shop Manager Role now have a different Role, such as Support Ticket Manager? I’m sure you already know, but for the benefit of anyone who might read this later, let’s go to wp-admin > Users > All Users > and then search or find the user you’re looking for. When you do locate the user, click on Edit. Now find where it says “Role” and see if it is still “Shop Manager”, if it does not, change it back to “Shop Manager” and see if it fixes the problem.
Either way, by default, only Administrators can admin both WooCommerce and wpsc Support Tickets. Other users with non-default Roles such as “Shop Manager” can easily be added to wpsc Support Tickets. If you want those with the “Shop Manager” Role to be able to also admin wpsc Support Tickets, then all they need is the manage_wpsct_support_tickets capability added to the shop_manager role. You can easily accomplish this through a number of plugins. My favorite is:
https://www.ads-software.com/plugins/user-role-editor/After activating you visit wp-admin > Users > User Role Editor >
Then select “Shop Manager” from the “Select Role and change its capabilities:” drop down list near the top.
Next, scroll down to “Custom capabilities:” and check the box for “manage_wpsct_support_tickets”
Then click the Update button to save your changes. This should now allow those with the “Shop Manager” Role to now have the proper capability to also manage support tickets.
Let me know if any of those suggestions resolve your issue. If not, let me know what you did experience and any other potentially useful information you can think of. I’m sure that if the above didn’t solve the problem, it shouldn’t be difficult to track down.
Regarding my support system, I did not see anything regarding these issues in my email. My apologies. Thanks again. Talk to you soon.
Jeff
Hi Jeff,
Thank you for your reply. We have been chasing this since late last week. My team decided to move to JS Support Tickets since it has more flexibility and no role issues. Please refund our premium purchase when you have a moment.
Email me privately for further details. dragonsflightstudio at g mail dot com
Thank you
MJ
- The topic ‘Unable to Authenticate’ is closed to new replies.