balena-io / open-balena-api

The core API of openBalena
https://balena.io/open
GNU Affero General Public License v3.0
58 stars 29 forks source link

Use $bypass for image_installs in the v6 device.overall_status computed term #1710

Closed thgreasi closed 1 month ago

thgreasi commented 1 month ago

Follow-up of #1708. Before #1708 we were using Table directly, so switching to Resource added more permissions checks to the query, which also unintentionally broke device requests from actors don't have permissions to access the image_installs. See: https://github.com/balena-io/balena-api/actions/runs/9879846964/job/27287119278?pr=5177

Change-type: patch See: https://github.com/balena-io/open-balena-api/pull/1708