{% extends "base.html" %} {% block title %}Debug permissions{% endblock %} {% block extra_head %} {% include "_permission_ui_styles.html" %} {% endblock %} {% block content %}

Permission playground

{% set current_tab = "permissions" %} {% include "_permissions_debug_tabs.html" %}

This tool lets you simulate an actor and a permission check for that actor.


    

Recent permissions checks

{% 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 %} {% for check in permission_checks %} {% endfor %}
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 %}
{% else %}

No permission checks have been recorded yet.

{% endif %} {% endblock %}