-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
biscuit-quote does not provide macros for individual datalog statements since the `biscuit`, `block`, `authorizer` and their `_merge` versions allow for an efficient management of those when manipulating biscuits, blocks and authorizers. However, a single `Rule` can be used for querying an authorizer, so we need a way to easily construct a single one. That's what the `rule!` macro does. It works the same as the other macros wrt parameter substitution.
- Loading branch information
Showing
3 changed files
with
103 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters