namespace ZB.MOM.WW.OtOpcUa.Server.Security;
///
/// Minimal interface an exposes so the Phase 6.2
/// authorization evaluator can read the session's resolved LDAP group DNs without a
/// hard dependency on any specific identity subtype. Implemented by OtOpcUaServer's
/// role-based identity; tests stub it to drive the evaluator under different group
/// memberships.
///
///
/// Control/data-plane separation (decision #150): Admin UI role routing consumes
/// via LdapGroupRoleMapping; the OPC UA data-path
/// evaluator consumes directly against NodeAcl. The two
/// are sourced from the same directory query at sign-in but never cross.
///
public interface ILdapGroupsBearer
{
/// Fully-qualified LDAP group DNs the user is a member of.
IReadOnlyList LdapGroups { get; }
}