Sometimes or often, we save some user-related data, which means data that has a relationship with a particular user, and in this recipe, we're going to see how we implement just that!
Configuring database user data security rules
Getting ready
Before starting with this recipe, please make sure that your system is fully configured to support the Bolt language.
How to do it...
Now, let's see how we can secure the set of articles that belong to a specific user:
path /articles/{uid}/drafts {
/create {
create() { isCreator(uid) }
}
...