Getting "401 Unauthorised Error" when logging as admin user with custom access.
I have created a new admin user with custom access. When I try to login with this user, I get below error. But when I click on the catalog icon, then able to access the admin pages. How to get rid of this error.
Please mention the bagisto version that you are using.
You are getting this 401 because you have not provided dashboard access in custom role and whenever user login it open the dashboard grid and in this case dashboard access is not given so it showing 401 for that.
I am using version v1.1.2
Gave Dashboard access and still getting same error. You can see 'Dashboard' icon now visible in left side bar.
BTW I think 'Dashboard' access should not be made mandatory. It has lot's of info and users with specific access should not have access to all this info.
Dashboard access is not mandatory, the error message display because by default it redirect to dashboard you will not get any issue in accessing other grid.
However we will try to display some relative message instead of error message.
Dashboard access is not mandatory, the error message display because by default it redirect to dashboard
OK that helps. Thanks.
Yes it was the error message I was concern which seem more like a false positive. No loss of functionality but wud be good to change the message.