Added user rights management
This commit is contained in:
parent
f00418d23c
commit
d472889ae1
9 changed files with 419 additions and 17 deletions
|
@ -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>();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue