So Appwrite checks if the user is allowed to perform a certain action. In my backend endpoint I might do a lot of logic before I call Appwrite, so before the permissions are checked. Is there a way for me to check on the backend to see if the user has the right permissions before actually calling Appwrite?
I suppose I could get all the teams of the current users and check permissions based on the permissions that are set on the document but this feels quite complicated and prone to errors
if you want to manually check the permissions, then, yes, this is what you'd have to do.
[SOLVED] Easy way to check if user has permissions
Recommended threads
- I recently applied for the free plan und...
I recently applied for the free plan under the GitHub Student Developer Pack. However, my billing status still shows $15, and it mentions that this amount will ...
- Bug Report: Appwrite Console UI Issue on...
Steps to Reproduce: - Navigate to any collection page in the Appwrite console UI. - Open the menu and click on "Create Collection." - Observe that the dialog to...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...