Skip to content

Commit 85ecc6f

Browse files
committed
Expose a text description of user roles.
1 parent 59d24f1 commit 85ecc6f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Seq.Api/Model/Security/RoleEntity.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ public class RoleEntity : Entity
2929
/// <summary>
3030
/// Permissions granted to users in the role.
3131
/// </summary>
32-
public HashSet<Permission> Permissions { get; set; } = new HashSet<Permission>();
32+
public HashSet<Permission> Permissions { get; set; } = new();
33+
34+
/// <summary>
35+
/// Optionally, an extended description of the role.
36+
/// </summary>
37+
public string Description { get; set; }
3338
}
3439
}

0 commit comments

Comments
 (0)