Hello,
My question is about setting the permission for updating the documents of the collections.
My vite reactjs web app uses Google sign for adding the users to my users collection. Those users can make notes which get saved in another collection called notes.
Since I use Google to add users to my users collection, is "Any" the only group that I can give permission to modify my notes collection? I have tried other groups, but all of them give the error about the lack of authorization.
This is the flow of the application:
- The user opens the vite reactjs web app.
- They do not see anything expect the Sign in with Google button.
- They sign using their Gooogle account and their email and username gets saved in the
userscollection. - They are taken to a page where they can create notes.
- After writing the note and clicking on "post", their note is saved in the
notescollection.
Currently, the only way that I have been able to make the users post notes that were successfully saved in the notes collection has been by setting the permission for notes collection to "Any." When I select any other group, I get the error about the lack of authorization for performing that action.
I do not have any accounts in the Users or Team category of the Auth section, as the account information comes from the users' Google account and the necessary information gets saved in the users collection of my database.
Any clarifying comments about the cause of this is greatly appreciated.
Recommended threads
- Couldnt not do appwrite push tables
Not sure why i am not able to create my tables
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...
- change role of a team member in Appwrite
It's not possible to add/change roles of a team meber in Appwrite Frontend. When you click on a member of a team you get forwarded to the configuration page of ...