Try our conversational search powered by Generative AI!

Creating a new user group and then setting a user - not able to login

Vote:
 

I created a new user group, ServiceSupportTeam

Added a user to the group:

Access Rights are also setup:

But the user is not able to login..Please advise

#297810
Mar 06, 2023 17:58
Vote:
 

I think you need to add the role to CmsPolicyOptions.EditRoles

#297812
Mar 06, 2023 20:41
Vote:
 

Hi Daman

You configuration looks correct to me. I suspect you have virtual role mapping defined in appsettings.Development.json too and the MappedRoles has different value compare to appsettings.josn's one. If above assumption is correct, you can either remove virtual role mapping from appsettings.Development.json OR add ServiceSupportTeam in MappedRoles to appsettings.Development.json file. In ASP.NET Core application, appsettings.{Environment}.json values override keys in appsettings.json by default

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-7.0

#297848
Edited, Mar 07, 2023 3:20
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.