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
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Finding job
Hi. I am a full-stack developer with experience in developing scalable and user-friendly web applications. I handle both front-end and back-end development, im...
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...