Enum RoleState
- Namespace
- Excalibur.A3.Authorization
- Assembly
- Excalibur.A3.Abstractions.dll
Represents the lifecycle state of a role.
public enum RoleState
Fields
Active = 0The role is active and can be assigned to users.
Deprecated = 2The role is permanently deprecated. Cannot be assigned or reactivated. Exists only for historical audit purposes.
Inactive = 1The role is temporarily inactive. Can be reactivated.
Remarks
State transitions: Active -> Inactive (reversible) -> Deprecated (one-way).
A deprecated role cannot be assigned but remains visible for audit.