iya-sts
    Preparing search index...
    enable: (identifier: string, options?: ActOptions) => FgaResult = ...

    Type Declaration

      • (identifier: string, options?: ActOptions): FgaResult
      • Switches fine-grained authorization on for an application: ensures its policy, then sets appFgaEnforced. Refused while the policy is disabled (STS-FGA-0006) or does not parse (STS-FGA-0007), because an enforced application with such a policy refuses every detail — the moment to say so is while somebody is switching it on.

        Parameters

        • identifier: string

          the application's identifier

        • Optionaloptions: ActOptions

          actor

        Returns FgaResult

        { ok, policy, enforced: true, changed }, or a refusal