open-balena-api
open-balena-api copied to clipboard
Make the device permissions explicit
The permission resin.device.all
is allowing all ports to be available to tunnel unintentionally. This should be broken down to create
, read
, update
and delete
.
Additionally we would like to keep the ability to tunnel any port, so we will add a new permission resin.device.tunnel-any
which can be checked for.
Please see https://github.com/balena-io/open-balena/issues/47 for the original issue.