mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-16 08:23:47 +01:00
15 lines
299 B
Django/Jinja
15 lines
299 B
Django/Jinja
{{- define "qualifier" -}}
|
|
{{- with .Prefix -}}
|
|
{{ . }}
|
|
{{- end -}}
|
|
{{- if .Owner -}}
|
|
{{- "owner " -}}
|
|
{{- end -}}
|
|
{{- if .Audit -}}
|
|
{{- "audit " -}}
|
|
{{- end -}}
|
|
{{- if eq .AccessType "deny" -}}
|
|
{{- "deny " -}}
|
|
{{- end -}}
|
|
{{- end -}}
|