I am using appwrite as a backend service provider to build a booking system, and a frontend in nuxt.
Consider I have a calendar that allows users to book.
I obviously want to create a document level permission per user to achieve the restriction on the booking document.
However when checking availability they need access to all items in the booking table.
Is a function the only way to achieve this? I also wanted to maybe do some logic restrictions in the future on other creations so guess it applies here too.
Thanks
Recommended threads
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...