
When I try to change a user's team with createMembership and updateMembershipStatus, the user is somehow in the new team, but appwrite doesn't show a second member in the list + when I try to add any security to a document with the given team (e.g. Read Access), the user doesn't have access to it.
Running on Nuxt btw.
newRole is the Teamname
this.$appwrite.teams.createMembership(
newRole,
[
newRole, // Is this even necessary?
],
undefined,
userId,
undefined,
membershipUrl,
)
useAppwrite().teams.updateMembershipStatus(
teamId,
membershipId,
userId,
secret,
)
The appwrite call difference is because the create statement is on a page. And I handle the status update through a middleware :)
Recommended threads
- Data Diet Needed
I love the nested related data... but can we request limited data? I think my requests need to go on a diet. I return my courses, and the units all come with th...
- Appwrite Cloud Ui and Server Crashes rep...
I am having trouble with Appwrite cloud and server crashes and Ui crashed repeatedly. Raised a GitHub issue as well. https://github.com/appwrite/appwrite/issues...
- 1.6 to 1.7 does not work
Appwrite (self-hosted) stopped working after updating from 1.6.2 that was stable. Getting the general_server_error. Mentioning I fallowed all steps for upgrad...
