I have build a Next Js app. And for the Backend I am using appwrite. So far I have a solid DB with 3 different collections. 1st is the Client Collection, 2nd is the Job Category Collection and 3rd is the Jobs Collection on which I have as child collections the Clients with a relationship Many to one (jobs can contain one clients / clients can belong to many jobs) and the Job Category with a relationship Many to ONE (jobs can contain one jobsCategory jobsCategory can belong to many jobs).
Currently I have not implemented any kind of authorizatoin and on a collection level permissions I have enabled for all three collections for ANY to allow all actions. So so far I can create clients / update clienst , I can create Job Categories / update Categories etc but unfortunately when I try to create a new Job I get this error: (Error is: AppwriteException: The current user is not authorized to perform the requested action.). The bizzare thing is that if I create the job from the console, I can update the data of this certain Job from the client side UI thought.
Please kidnly advise me any possible solution....
Recommended threads
- Redis with user/pass doesn't work NO_AUT...
When trying to externalize my redis to a valkey server, i saw the user/pass doesn't work. After looking the appwrite code, i saw some of the init does not pass...
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- Project auto-blocked after load testing ...
Hi team 👋 My project has been automatically blocked with the message: "Project is currently blocked — Access to this project is restricted. Contact support if...