iya-sts
    Preparing search index...
    createRefusal: (
        attributes: Record<string, unknown>,
        subject?: Subject,
    ) => CreateRefusal = ...

    Type Declaration

      • (attributes: Record<string, unknown>, subject?: Subject): CreateRefusal
      • The refusal of a create, where the policy is enforced and something the profile that applies requires is missing: the names, the profile and a sentence. Null otherwise.

        WHOSE PROFILE (#1241): the person the write creates — the reference the write sets on them, the groups already listing the DN they will have, and subject.groups, any the same write adds.

        Parameters

        • attributes: Record<string, unknown>

          the attributes the person would be created with

        • Optionalsubject: Subject

          whose profile; by default the entry itself

        Returns CreateRefusal

        { missing, policy, message }, or null