{% extends "base.html" %} {% block title %}Debug permissions{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
This tool lets you simulate an actor and a permission check for that actor.
{% if filter != "all" %}All{% else %}All{% endif %}, {% if filter != "exclude-yours" %}Exclude yours{% else %}Exclude yours{% endif %}, {% if filter != "only-yours" %}Only yours{% else %}Only yours{% endif %}
{% for check in permission_checks %}Actor: {{ check.actor|tojson }}
{% if check.resource %}Resource: {{ check.resource }}
{% endif %}{{ permissions|tojson(2) }}{% endblock %}