Closed alittlebroken closed 1 year ago
When comparing a routes allowed role to the user role the comparison is case sensitive.
This means if a role is set as admin for the user but Admin for the route it will not match.
This PR aims to correct this by making sure both sides of the comparison are lowercase
When comparing a routes allowed role to the user role the comparison is case sensitive.
This means if a role is set as admin for the user but Admin for the route it will not match.
This PR aims to correct this by making sure both sides of the comparison are lowercase