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 |
||
|---|---|---|
| .. | ||
| channels | ||
| components | ||
| controllers | ||
| helpers | ||
| live | ||
| plugs | ||
| endpoint.ex | ||
| gettext.ex | ||
| router.ex | ||
| telemetry.ex | ||
| user_auth.ex | ||