mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 15:11:10 +00:00
Adds authorization permissions administrator dashboard
This commit is contained in:
1 parent
152cb48050
commit
583b8db865
106 files changed
+5916
-2085
No files matched your search
@@ -11,11 +11,11 @@ namespace Lumina.Contracts.Responses.Authorization;
|
||||
/// Represents the response model for an account authorization request.
|
||||
/// </summary>
|
||||
/// <param name="UserId">The Id of the user for whom the authorization is retrieved.</param>
|
||||
/// <param name="Roles">The collection of roles associated to the user.</param>
|
||||
/// <param name="Role">The collection of roles associated to the user.</param>
|
||||
/// <param name="Permissions">The collection of permissions associated to the user.</param>
|
||||
[DebuggerDisplay("UserId: {UserId}")]
|
||||
public record AuthorizationResponse(
|
||||
Guid UserId,
|
||||
IReadOnlySet<string> Roles,
|
||||
string? Role,
|
||||
IReadOnlySet<AuthorizationPermission> Permissions
|
||||
);
|
||||
Reference in new issue
Block a user