Last post Oct 04, 2020 03:19 PM by talldaniel
Oct 04, 2020 03:19 PM|talldaniel|LINK
I have implemented simple Roles for my site.
I want to use the the AuthorizeView
This works fine, unless the user has more than one role, then it only works if for the first role assigned to the user. Any subsequent roles are ignored.
So for example if I assign roles in the order of "Customer", "Student" to a user, then they would select Index, because I assigned Customer first.
If I changed Roles to Student then it would not work for this user.
My work around is to allow each user to have only one role.
It seems like a configuration issue, though I think it worked with the same configuration a few months ago. Any suggestions?