open-balena-api icon indicating copy to clipboard operation
open-balena-api copied to clipboard

is_accessible_by_support_until__date on open-balena?

Open shaunco opened this issue 4 months ago • 1 comments

The SDKs and CLI all support the is_accessible_by_support_until__date device property on balena-cloud to grant/deny balena support access to SSH and various other config updates, but is_accessible_by_support_until__date doesn't seem to be implemented anywhere in open-balena-api. Is there an equivalent in open-balena?

The use case here is that some open-balena devices are deployed in end-customer environments and the end-customer needs to be able to decide when the open-balena admin (and team) should be allowed to access SSH and other config. Obviously we could strip SSH keys from end devices when it shouldn't be allowed, but there doesn't seem to be a way to put them back.

Seems like the is_accessible_by_support_until__date check should be in https://github.com/balena-io/open-balena-api/blob/master/src/features/host-os-access/access.ts

shaunco avatar Mar 13 '24 16:03 shaunco

Hi @shaunco , No, open-balena doesn't offer anything equivalent to is_accessible_by_support_until__date. In open-balena all users have access to all devices and all orgs of the system. Isolated organizations, access levels and support access are only implemented/supported in balenaCloud & balenaMachine.

Kind regards, Thodoris

thgreasi avatar Apr 10 '24 10:04 thgreasi