Class TsakRoles
Well-known Tsak roles, ordered by privilege: <
< . A key holding a higher role
satisfies a requirement for a lower one — admin can do everything
operator can, and so on.
Roles outside this ladder (custom roles on a key) are matched by exact name only.
public static class TsakRoles
Inheritance
Methods
RankOf(string)
Privilege rank of a well-known role (higher wins). Returns 0 for
public static int RankOf(string role)
Satisfies(IReadOnlySet<string>, IReadOnlyList<string>)
True when held satisfies required — either by
public static bool Satisfies(IReadOnlySet<string> held, IReadOnlyList<string> required)