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 |
||
|---|---|---|
| .. | ||
| edit.ex | ||
| edit.html.heex | ||
| helpers.ex | ||
| index.ex | ||
| index.html.heex | ||
| show.ex | ||
| show.html.heex | ||