Remove User -> AppMember relation
Description
Users and AppMembers are directly connected to each other. When an API call is made that affects or uses an AppMember, the user id is first given to retrieve the relevant AppMember before doing anything relevant to the call. It would be way more convenient and faster to immediately give this AppMember account or ID.
On top of that, anyone that tries tot log into an app has to create an Appsemble account first (unless an external identity provider is connected). This doesn't make a lot of sense on the user's side. Ideally, we want to have Appsemble and an Appsemble App be disconnected.
It would make more sense to have AppMembers (or AppAccounts/AppUsers) be seperate from Appsemble and specific to an app. Appsemble users can still edit resources, assets etc. through the studio or CLI where their account will be checked for the right permissions, but the account won't be connected to that resource as 'Author' or 'Editor'.
Requirements
-
Disconnect Users from AppMembers -
(?) Seperate API calls between App calls (which use the AppMember as parameter) and external calls (like Studio or CLI (which use the User as parameter)) -
Replace User relation from Resources, Assets etc. with AppMembers