Back

Is functions the best way to do this?

  • 0
  • Databases
  • Functions
  • Web
  • Cloud
Mafia
16 Oct, 2024, 16:42

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

TL;DR
Developers building booking system with appwrite backend and Nuxt frontend are seeking advice on implementing document-level permissions and logic restrictions. Functions may be needed to achieve access to all booking items while also enabling future logic restrictions.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more