Adds authorization permissions administrator dashboard

This commit is contained in:
BinaryAlley committed 2024-12-22 19:17:47 +02:00
1 parent 152cb48050
commit 583b8db865
106 files changed
+5916 -2085

No files matched your search

@@ -19,9 +19,9 @@ public class UserAuthorizationEntity
public required Guid UserId { get; init; }
/// <summary>
/// Gets the collection of roles associated to the user.
/// Gets the role associated to the user.
/// </summary>
public required IReadOnlySet<string> Roles { get; init; }
public required string? Role { get; init; }
/// <summary>
/// Gets the collection of permissions associated to the user.
@@ -51,9 +51,9 @@ public class UserEntity : IStorageEntity, IAuditableEntity
public required ICollection<LibraryEntity> Libraries { get; init; } = [];
/// <summary>
/// Gets the collection of user roles associations that include this user.
/// Gets the user roles association that includes this user.
/// </summary>
public required ICollection<UserRoleEntity> UserRoles { get; init; } = [];
public required UserRoleEntity? UserRole { get; init; }
/// <summary>
/// Gets the collection of user permission associations that include this user.