Skip to content

middleware case sensitive #2357

Answered by drbyte
vishalgiasoft009 asked this question in Q&A
Discussion options

You must be logged in to vote

If you've configured your database to use a Case-Sensitive character-set, then searches/lookups will be case-sensitive.

I recommend you not allow users/administrators to change the name of the roles, since your application code can't be guaranteed to match.

Perhaps a better option would be to give your administrators a drop-down list of roles to choose from, instead of typing them in manually?

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@erikn69
Comment options

@drbyte
Comment options

drbyte Mar 13, 2023
Collaborator

Answer selected by drbyte
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants