iya-sts
    Preparing search index...
    editRefusal: (
        before: Record<string, unknown>,
        after: Record<string, unknown>,
        subject?: Subject,
    ) => EditRefusal = ...

    Type Declaration

      • (
            before: Record<string, unknown>,
            after: Record<string, unknown>,
            subject?: Subject,
        ): EditRefusal
      • The refusal of an edit, where the policy is enforced and the edit would take away a value the profile that applies requires. Null otherwise.

        WHOSE PROFILE (#1241): the person's as the edit leaves them — their own reference after it, and the groups they are in.

        Parameters

        • before: Record<string, unknown>

          the attributes before the edit

        • after: Record<string, unknown>

          the attributes after it

        • Optionalsubject: Subject

          whose profile; by default the entry as it will be

        Returns EditRefusal

        { removed, policy, message }, or null