add boolean type

This commit is contained in:
Geoffroy Couprie 2021-01-08 15:30:13 +01:00
parent 0ec07df89d
commit 0954e32224
3 changed files with 5 additions and 0 deletions

View File

@ -130,6 +130,8 @@ set exclusion.
A *date* is a 64 bit unsigned integer representing a TAI64. It supports the following constraints:
before, after.
A *boolean* is `true` or `false`.
### Usage
A biscuit token defines some scopes for facts and rules. The *authority* scope is defined in the first

View File

@ -121,6 +121,8 @@ constraints: equal, set inclusion, set exclusion.
A *date* is a 64 bit unsigned integer representing a TAI64. It supports the
following constraints: before, after.
A *boolean* is `true` or `false`.
### Authority and ambient facts
Facts in Biscuit's language have some specific context.

View File

@ -198,6 +198,7 @@ message IDV1 {
string string = 4;
uint64 date = 5;
bytes bytes = 6;
bool bool = 7;
}
}