bolt
bolt copied to clipboard
Bolt Compiler (Firebase Security and Modeling)
**Proposal:** Editor support for .bolt files (e.g. WebStorm plugin, VS Code plugin) **Reason:** It's great to write rules with bolt but still it's very easy to misspell something, miss a...
A simple reproducible example showing the bug: .bolt file: `path /test/{x} is String{ validate() { this.parent()[prior(this)] == x } } ` .json file produced: ` { "rules": { "test": {...
Currently it is not allowed to have both wildcard properties and fields. Therefore, it is not possible to define types that allow properties other than the ones defined in the...
Still considered beta with last commit about a year ago certainly doesn't look like it. Any pointers to alternative approaches / best practices? Thanks!
Even if the new [Cloud Firestore](https://firebase.google.com/docs/firestore/security/get-started) has a better rules language than the RTDB, it still looks limited to write easy to understand document types. It'd be awesome to use...
Bumps [eslint](https://github.com/eslint/eslint) from 1.10.3 to 6.6.0. Release notes *Sourced from [eslint's releases](https://github.com/eslint/eslint/releases).* > ## v6.6.0 > * [`39dfe08`](https://github.com/eslint/eslint/commit/39dfe0880fa934e287e8ea1f7b56d5cba8d43765) Update: false positives in function-call-argument-newline (fixes [#12123](https://github-redirect.dependabot.com/eslint/eslint/issues/12123)) ([#12280](https://github-redirect.dependabot.com/eslint/eslint/issues/12280)) (Scott O'Hara) > *...
With the following rules: ```bolt objectAccess(objectId) { root.object_access[objectId][auth.uid] } path /shared/{userId}/{objectId} is Obj { create() { objectAccess(objectId) === "owner" && this.sharing_accepted_by_receiver == false } } ``` And database looking like:...
I recently switched to using firebase-bolt. I've been trying to do something like `root.child('collection').child('doc').hasChild('someKey')` When trying to compile this, it complains that the hasChild function is undefined. I tried going...
I just tried bolt for the first time today and it's amazing. It's sad to see that it isn't getting much development. This should really replace the default Realtime Database...