What is the name of the language used for Cloud Firestore security rules?

人盡茶涼 提交于 2019-12-05 10:08:35

Firebase Security Rules is a custom DSL.

Condition expressions are JS like, and should work with one of those. The path matching framework is less common, but we're working on providing the grammar + additional tooling (syntax highlighting, parsing, type checking, evaluators) in the future.

For those interested in the history, the semantics are closely related to XACML, we just wanted to provide better (non-XML) syntax.

You can find a syntax highlighting plugin for Visual Studio here: https://github.com/toba/vsfire

I adapted the plugin for Atom: https://github.com/jaysquared/atom-firestore-grammar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!