This PR modify the RoleNameToggle in order to decide if the user belongs to a role using User.IsInRole method instead look for a claim and reduce the complexity because the user doesn't care about the RoleType (No configuration needed).
Please make sure you've completed the relevant tasks for this PR, out of the following list:
What this PR does / why we need it:
This PR modify the RoleNameToggle in order to decide if the user belongs to a role using User.IsInRole method instead look for a claim and reduce the complexity because the user doesn't care about the RoleType (No configuration needed).
Please make sure you've completed the relevant tasks for this PR, out of the following list: