towerops/lib/towerops_web/live
Graham McIntire 97cdb8e46c
fix: handle cloud pollers in agent show page and fix NoResultsError
Two issues fixed:
1. Cloud pollers (organization_id = nil) were causing access denied errors
   when superadmins tried to view them. Now allows access if user is
   superadmin and agent is a cloud poller.

2. Ecto.NoResultsError was being raised without required :queryable option,
   causing KeyError crash. Now properly raises with queryable parameter.

Error was:
  KeyError: key :queryable not found in []
  (ecto 3.13.5) lib/ecto/exceptions.ex:203: Ecto.NoResultsError.exception/1
  (towerops) lib/towerops_web/live/agent_live/show.ex:16: mount/3
2026-01-25 09:09:50 -06:00
..
admin more dark mode 2026-01-20 17:23:11 -06:00
agent_live fix: handle cloud pollers in agent show page and fix NoResultsError 2026-01-25 09:09:50 -06:00
alert_live more dark mode 2026-01-20 17:23:11 -06:00
device_live fix: resolve all dialyzer unmatched return and pattern match warnings 2026-01-24 17:34:37 -06:00
graph_live arp 2026-01-23 08:40:57 -06:00
org more dark mode 2026-01-20 17:23:11 -06:00
org_live more dark mode 2026-01-20 17:23:11 -06:00
site_live refactor: simplify job architecture from Oban coordinators to direct workers 2026-01-24 16:36:57 -06:00
dashboard_live.ex rename equipment to device 2026-01-17 14:48:46 -06:00
dashboard_live.html.heex more dark mode 2026-01-20 17:23:11 -06:00
mobile_qr_live.ex more dark mode 2026-01-20 17:23:11 -06:00
user_settings_live.ex more dark mode 2026-01-20 17:23:11 -06:00