Skip to content

Commit

Permalink
add boolean type
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Jan 8, 2021
1 parent 0ec07df commit 0954e32
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions SPECIFICATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ message IDV1 {
string string = 4;
uint64 date = 5;
bytes bytes = 6;
bool bool = 7;
}
}

Expand Down

0 comments on commit 0954e32

Please # to comment.