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

Remove the my_application resource from the resin model #1683

Closed thgreasi closed 1 month ago

thgreasi commented 1 month ago

Users should be using user__has_direct_access_to__application instead.

Resolves: #1096 Change-type: patch See: https://balena.fibery.io/Work/Project/Server-side-pagination-for-devices-Cycle-3-539

joshbwlng commented 1 month ago

@thgreasi A couple quick questions:

thgreasi commented 1 month ago

@joshbwlng since we are only removing it from the unstable resin model, this is not considered a major, since nobody should be using that (and in oB we also do not expose it at all by default). The linked Fibery project is about releasing the v7 model, but then I realized that there is a number of "breaking changes" that we want to do with v7, and this is one of them. More context: The my_application is already not available on bC's /resin, and was replaced by the user-has direct access to-application computed term some years back. I'm not sure how we missed it in oB :-/