pocketbase / site

PocketBase Site
https://pocketbase.io
MIT License
76 stars 49 forks source link

Add example of using a multi-relation in API rules #31

Closed csmith closed 1 year ago

csmith commented 1 year ago

I was expecting allowed_users ?= @request.auth.id to work based on how the multi-relation is presented in the admin UI, and had to dig up this discussion to figure out how the multi-relation is used: https://github.com/pocketbase/pocketbase/discussions/2157

ganigeorgiev commented 1 year ago

Thanks! The documentation will get a major refactoring with the upcoming v0.17.0 release.