Implemented API key management with permission checks, database schema, and frontend integration. Adjusted string lengths for Role and API key attributes.
This commit is contained in:
@@ -4,9 +4,9 @@ namespace Moonlight.Shared.Http.Requests.Roles;
|
||||
|
||||
public class UpdateRoleDto
|
||||
{
|
||||
[Required] [MaxLength(15)] public string Name { get; set; }
|
||||
[Required] [MaxLength(30)] public string Name { get; set; }
|
||||
|
||||
[MaxLength(100)] public string Description { get; set; } = "";
|
||||
[MaxLength(300)] public string Description { get; set; } = "";
|
||||
|
||||
[Required] public string[] Permissions { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user