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
- trying to figure out how to activate my...
please help
- Bug: TOTP MFA verification always fails ...
*Bug: TOTP MFA verify always returns `user_invalid_token` (Cloud 1.8.1, Frankfurt)** Project ID: `68dd48440003e537d849` SDK: `appwrite@18.2.0` (also tested wit...
- SSL Certificate Issuance Failed
When we first deployed our site using appwrite and a custom domain everything was working, but it seems like the SSL certificate never got renewed. I tried dele...