{# Scope is independent of lifetime. Broadening requires an authenticated admin decision. #}
{% if not in_detail %}{% include "_hazards.html" %}{% endif %} {% if hazard_blocks(hazard_level(req.detail)) %}
Flagged destructive: no timed, session or standing allow is offered.
{% else %}
{% if binds_exactly(req.detail) %}
Exact keeps the same command, file contents or tool arguments for every duration{% if operations(req.detail)|length > 1 %}, one grant per operation shown{% endif %}. Pattern access is broader{% if req.detail.user %}; it remains bound to {{ req.detail.user }} on this target{% endif %}.
{% else %}
Listed permission patterns, including all matching arguments.
{% endif %}
{% if path_scoped(req.detail) %}{% endif %} {% if req.session_id %}{% endif %}
{% if req.session_id %}Session access is tied to the client-supplied session ID and expires within {{ session_cap_minutes }} minutes.{% else %}No session ID was provided; use once or timed access.{% endif %} Once applies to each listed permission scope. Expiry and revocation block future calls; running operations continue.
Deny rejects this request and suppresses equivalent requests for 10 minutes. Always deny creates a rule.
{% endif %}