{# Stale-role banner — shown on the unified /admin/permissions landing when the local capability matrix still holds rows for role slugs that are no longer active in Auth (deleted / deactivated / renamed upstream). Expected context: stale_role_slugs : list[str] — orphan slugs cleanup_url : str — POST target (e.g. /admin/permissions/cleanup-roles) csrf_token : str — request.cookies.get('csrftoken', '') from caller #} {% if stale_role_slugs %} {% endif %}