• Resolved Arjan

    (@arjan166)


    Hey!

    Via the Members plugin, I created a new role called ‘Order picker’ for our webshop, by cloning the Shop manager role. I assigned the role to a user and tested if the user could login. That worked.

    Then, I deleted some permissions which an order picker doesn’t need. Now the Order picker can’t login anymore. After typing in the credentials on the login screen the user is redirected to the homepage instead of the dashboard.

    What rights should a user have at least to be able to login?

    Thanks in advance for your help!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Omar ElHawary

    (@omarelhawary)

    Hi @arjan166,

    Thanks for reaching out!

    Based on your description, it looks like the issue might be related to the removal of a critical capability. In WordPress, a user needs to have at least the read capability to be able to access the dashboard (wp-admin). Even if other permissions are removed, without read the user doesn’t have the authorization to view the admin area and may end up being redirected to the homepage instead.

    Here’s what you can do to resolve the issue:

    • Verify the read Capability: Please go to your Members plugin settings and check that your “Order picker” role includes the read capability.
    • Compare with Default Roles: It might help to compare with the Subscriber role, which by default only requires the read capability.
    • Testing Access: After ensuring the read capability is present, test the login again. The user should then be able to access the dashboard or at least be authenticated correctly.

    Let me know if you have any more questions or if there’s anything else I can do to help!

    Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Cannot login with new role’ is closed to new replies.