iya-sts
    Preparing search index...
    policiesAction: (body: any, context: any) => any = ...

    Type Declaration

      • (body: any, context: any): any
      • Saves or resets one kind of policy on Directory → Policies, the kind found by its action's name (policy_kinds.ts).

        Parameters

        • body: any

          the parsed form or JSON body, whose action names the act

        • context: any

          who is acting (actor)

        Returns any

        { ok, errors, … }; an unknown action is refused with the sentence naming every action