{# TechHand Remote Support shell nav. portal_capabilities None = show all (unknown / old server). #}
{% set cap = portal_capabilities %}
{% set cap_ok = cap is not none %}
Menu
HomeScanStatus
{% if portal_session_ready %}
{% if not cap_ok or cap.get('summary', true) %}
Org overview
{% endif %}
{% if not cap_ok or cap.get('tickets_read', true) %}
Tickets
{% endif %}
{% if not cap_ok or cap.get('docs_read', true) %}
Documents
{% endif %}
{% if not cap_ok or cap.get('vault_read', true) %}
Vault
{% endif %}
{% if not cap_ok or cap.get('assets_read', true) %}
Assets
{% endif %}
{% if not cap_ok or cap.get('training_read', true) %}
Training
{% endif %}
{% if not cap_ok or cap.get('ai_chat', true) %}
Org AI
{% endif %}
{% if not cap_ok or cap.get('machine_context', true) %}
Machine context
{% endif %}
{% if not cap_ok or cap.get('owner_reports_read', true) %}
Owner reports
{% endif %}
{% if not cap_ok or cap.get('apikeys_read', true) %}
API keys
{% endif %}
{% else %}
Organization portal setup
{% endif %}
Setup