namespace ZB.MOM.WW.OtOpcUa.Configuration.Enums;
///
/// Admin UI roles per admin-ui.md ยง"Admin Roles" and Phase 6.2 Stream A.
/// These govern Admin UI capabilities (cluster CRUD, draft โ publish, fleet-wide admin
/// actions) โ they do NOT govern OPC UA data-path authorization, which reads
/// joined against LDAP group memberships directly.
///
///
/// Per docs/v2/plan.md decision #150 the two concerns share zero runtime code path:
/// the control plane (Admin UI) consumes ; the
/// data plane consumes rows directly. Having them in one
/// table would collapse the distinction + let a user inherit tag permissions via their
/// admin-role claim path.
///
public enum AdminRole
{
/// Read-only Admin UI access โ can view cluster state, drafts, publish history.
ConfigViewer,
/// Can author drafts + submit for publish.
ConfigEditor,
/// Full Admin UI privileges including publish + fleet-admin actions.
FleetAdmin,
}