How to create Dynamic Custom Roles with MongoDB Stitch
None of us want to write lots of code to control what data each user can access. In most cases, you can set up your data access controls in seconds by using Stitch's built-in templates. Stitch also lets you create custom rules that you tailor to your application and schema – this post creates such a rule, querying a second collection when deciding whether to allow a user to insert a document.
March 27, 2019