iya-sts
    Preparing search index...
    ownerChangeRefusal: (
        before: string[],
        after: string[],
        caller: unknown,
        door?: string,
    ) => { code: string; message: string } = ...

    Type Declaration

      • (
            before: string[],
            after: string[],
            caller: unknown,
            door?: string,
        ): { code: string; message: string }
      • Says whether changing a service account's owners from before to after breaks rule 2 or rule 3 of an irreversible service account (rcbj, 2026-11-15): no change may leave an account that named an owner with none, and the caller may not take themselves off — their own DN, or the group that was their only way of owning it. Asked by set() and by the directory's LDAP modify, each with its own codes.

        Parameters

        • before: string[]

          the owner DNs the account names now

        • after: string[]

          the owner DNs it would name

        • caller: unknown

          who is asking: a username or a DN; '' for nobody known (development's open API, a client's own token, an anonymous bind)

        • Optionaldoor: string

          api or ldap, whose codes the refusal carries

        Returns { code: string; message: string }

        { code, message }, or null where the change is allowed