{% trans "Block or unblock any subject — a user, IP, or session. Pick a scope, enter the value, and optionally set a TTL in seconds (leave it blank for a permanent block). Blocks take effect on the subject's next request." %}
{# ── Create / lift a block ────────────────────────────────────────── #}{% trans 'New block' %}
{% trans 'Restrict a subject from accessing the app' %}{% trans 'Active blocks' %}
{{ active_blocks|length }}| {% trans 'Scope' %} | {% trans 'Subject' %} | {% trans 'Reason' %} | {% trans 'Rule' %} | {% trans 'Duration' %} | |
|---|---|---|---|---|---|
| {{ entry.scope.scope_type }} | {{ entry.scope.scope_value }} | {{ entry.reason|default:'—' }} | {% if entry.rule_name %}{{ entry.rule_name }}{% else %}—{% endif %} | {% if entry.expires_at %} {% trans 'Temporary' %} {% trans 'expires' %} {{ entry.expires_at|date:"M j, Y, g:i a" }} {% else %} {% trans 'Permanent' %} {% if entry.created_at %}{% trans 'since' %} {{ entry.created_at|date:"M j, Y" }}{% endif %} {% endif %} |
{% trans "Only durable (permanent) blocks are listed; temporary (Redis-only) blocks auto-expire and may not appear here on a tiered deployment." %}
{% trans 'No active blocks.' %}
{% trans 'Subjects you block will appear here.' %}