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

@ -10,6 +10,12 @@ namespace Lieb.Models
[StringLength(40, ErrorMessage = "RoleName too long (40 character limit).")]
public string RoleName { get; set; } = string.Empty;
public bool IsSystemRole { get; set; } = false;
public int Level { get; set; } = 20;
public int LevelToAssign { get; set; } = 30;
public ICollection<RoleAssignment> RoleAssignments { get; set; } = new List<RoleAssignment>();
}
}