V14: Fix member mapping (#16106)

* convert key to name before saving roles

* Rework MemberEditingService to convert keys

* Rename variable to groups

* Extract to variable
This commit is contained in:
Nikolaj Geisle
2024-04-23 12:25:36 +02:00
committed by GitHub
parent 94bf4efe10
commit 7bbef2a584
7 changed files with 38 additions and 13 deletions

View File

@@ -4,7 +4,7 @@ public abstract class MemberEditingModelBase : ContentEditingModelBase
{
public bool IsApproved { get; set; }
public IEnumerable<string>? Roles { get; set; }
public IEnumerable<Guid>? Roles { get; set; }
public string Email { get; set; } = string.Empty;