namespace ZB.MOM.WW.MxGateway.Server.Configuration;

/// <summary>
/// Who may observe the dashboard event stream of a session that carries no
/// dashboard tags. Tags gate dashboard event VISIBILITY only; they never widen
/// or narrow data access.
/// </summary>
public enum UntaggedSessionVisibility
{
    /// <summary>
    /// Default. An untagged session is visible only to a dashboard Administrator.
    /// Fails closed: a deployment that has not populated
    /// <see cref="DashboardOptions.GroupToTag"/> shows Viewers nothing.
    /// </summary>
    AdminOnly,

    /// <summary>
    /// An untagged session is visible to every dashboard Viewer. Opt-in for a
    /// genuinely single-tenant deployment that wants the pre-ACL behaviour.
    /// </summary>
    AllViewers
}
