Create Policy
@for (action of actionOptions; track action) { }
Policies {{ policies().length }}
@if (loading() && policies().length === 0) {
} @else if (policies().length === 0) {
No policies configured. Create one above.
} @else {
@for (p of policies(); track p.id) { }
NameResourceActionsEffectPriorityCreatedActions
{{ p.name }} {{ p.resource }}
@for (a of p.actions; track a) { {{ a }} }
@if (p.effect === 'allow') { Allow } @else { Deny } {{ p.priority }} {{ nsToDate(p.created_at) | date:'dd/MM/yy HH:mm' }}
}