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
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.