towerops/lib
Graham McIntire dc32e16c68
fix: allow cloud pollers to access devices from any organization
Cloud pollers (is_cloud_poller = true, organization_id = nil) were
being blocked from polling devices because verify_device_organization
was checking if the device's organization matched the agent's
organization.

Since cloud pollers don't belong to any organization (organization_id
is nil), they should be allowed to poll devices from any organization.

Changes:
- verify_device_organization now allows access if organization_id is nil
- This fixes "Device not in agent's organization" errors for cloud pollers

Error before:
  Device b7e8dd99-0b19-496d-97ae-9f2601d16464 not in agent's organization
2026-01-25 11:15:19 -06:00
..
mix/tasks more tests 2026-01-22 11:51:35 -06:00
snmpkit credo fixes 2026-01-23 16:49:02 -06:00
towerops refactor: filter harmless Oban shutdown messages during deployments 2026-01-25 08:38:33 -06:00
towerops_web fix: allow cloud pollers to access devices from any organization 2026-01-25 11:15:19 -06:00
snmp_lib.ex bring in snmpkit 2026-01-23 12:52:17 -06:00
snmp_mgr.ex credo fixes 2026-01-23 14:01:52 -06:00
snmpkit.ex bring in snmpkit 2026-01-23 12:52:17 -06:00
towerops.ex init 2025-12-21 11:10:43 -06:00
towerops_web.ex separate out marketing layouts 2026-01-06 14:46:39 -06:00