{% extends "base.html" %} {% block title %}Permission Check{% endblock %} {% block extra_head %} {% include "_permission_ui_styles.html" %} {% include "_debug_common_functions.html" %} {% endblock %} {% block content %}

Permission check

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

Use this tool to test permission checks for the current actor. It queries the /-/check.json API endpoint.

{% if request.actor %}

Current actor: {{ request.actor.get("id", "anonymous") }}

{% else %}

Current actor: anonymous (not logged in)

{% endif %}
The permission action to check
For database-level permissions, specify the database name
For table-level permissions, specify the table name (requires parent)
{% endblock %}