{% extends "base.html" %} {% block title %}Debug permissions{% endblock %} {% block extra_head %} {% include "_permission_ui_styles.html" %} {% 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 %}
{% if permission_checks %}| When | Action | Parent | Child | Actor | Result |
|---|---|---|---|---|---|
| {{ check.when.split('T', 1)[0] }} {{ check.when.split('T', 1)[1].split('+', 1)[0].split('-', 1)[0].split('Z', 1)[0] }} |
{{ check.action }} |
{{ check.parent or '—' }} | {{ check.child or '—' }} | {% if check.actor %}{{ check.actor|tojson }}{% else %}anonymous{% endif %} |
{% if check.result %}Allowed{% elif check.result is none %}No opinion{% else %}Denied{% endif %} |
No permission checks have been recorded yet.
{% endif %} {% endblock %}