{% if permissions|length %}

{% for permission in permissions %}
{{ permission.permission }}:
  title: '{{ permission.title }}'
  description: '{{ permission.description }}'
{% if  permission.restrict_access != 'none' %}
  restrict access: {{ permission.restrict_access }}
{% endif %}
{% endfor %}
{% endif %}
