@if (accessPolicyState$ | async; as accessPolicyState) { @if (isInitialLoading(accessPolicyState)) {
} @else { @if (flowConfiguration$ | async; as flowConfiguration) {
@switch (accessPolicyState.policyStatus) { @case (PolicyStatus.NotFound) { No policy for the specified resource. @if (flowConfiguration.supportsConfigurableAuthorizer) { Create a new policy. } } @case (PolicyStatus.Inherited) { @if (accessPolicyState.accessPolicy) { } } @case (PolicyStatus.Forbidden) { Not authorized to access the policy for the specified resource. } }
Policy @for (option of resourceOptions; track option) { {{ option.text }} }
@if (supportsResourceIdentifier) {
Option @for (option of requiredPermissionOptions; track option) { {{ option.text }} }
}
Action view modify
@if (flowConfiguration.supportsConfigurableAuthorizer) {
}
@if (currentUser$ | async; as user) {
}
Last updated:
{{ accessPolicyState.loadedTimestamp }}
} } } Showing effective policy inherited from all policies. @if (supportsConfigurableAuthorizer) { Override this policy. } Showing effective policy inherited from the controller. @if (supportsConfigurableAuthorizer) { Override this policy. } No restriction specific users. @if (supportsConfigurableAuthorizer) { Create a new policy. }