Sync team_role from the API into session storage and resolve export permissions using canonical role keys so production sessions match localhost behavior.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add blob download helpers, permission-gated export buttons that mirror list filters, role-based export access, and client-side filenames using resource name plus timestamp.
Co-authored-by: Cursor <cursoragent@cursor.com>