Added user rights management

This commit is contained in:
t.ruspekhofer 2022-02-27 14:24:39 +01:00
parent f00418d23c
commit d472889ae1
9 changed files with 419 additions and 17 deletions

View file

@ -8,11 +8,9 @@ namespace Lieb.Models
public int LiebUserId { get; set; }
public ulong DiscordUserId { get; set; }
[Required]
[StringLength(40, ErrorMessage = "Name too long (40 character limit).")]
public string Name { get; set; } = string.Empty;
[Required]
[StringLength(60, ErrorMessage = "Pronouns too long (60 character limit).")]
public string Pronouns { get; set; } = string.Empty;