Skip to content

Introduce AuthorizerBuilder and remove datalog mutability from Authorizer - #164

Merged
Korbik merged 2 commits into
mainfrom
clementd/introduce-authorizerbuilder-and-remove-datalog-mutability-from-au
Nov 23, 2026
Merged

Korbik merged 2 commits into
mainfrom
clementd/introduce-authorizerbuilder-and-remove-datalog-mutability-from-au

Conversation

@divarvel

Copy link
Copy Markdown
Contributor

This was introduced in biscuit-rust 6.0.0 and solved a lot of issues related to datalog mutability (tricky caching of fact generation, symbol resolution, fact scoping). This also makes sharing an authorizer builder easier across uses.

  • Authorizer does not expose any mutability of datalog contents. Once it is built, there is no possibility of adding rules, facts or policies
  • Fact generation only needs to run one time, once it is not possible to modify World anymore

See

…horizer`

This was introduced in biscuit-rust 6.0.0 and solved a lot of issues related to datalog mutability
(tricky caching of fact generation, symbol resolution, fact scoping). This also makes sharing an
authorizer builder easier across uses.

- `Authorizer` does not expose any mutability of datalog contents. Once it is built, there is no possibility of adding rules, facts or policies
- Fact generation only needs to run one time, once it is not possible to modify `World` anymore

See
- eclipse-biscuit/biscuit-rust#250
- eclipse-biscuit/biscuit-rust#255
- eclipse-biscuit/biscuit-rust#274
@divarvel
divarvel force-pushed the clementd/introduce-authorizerbuilder-and-remove-datalog-mutability-from-au branch from 5a82842 to 0db9816 Compare November 21, 2026 22:57
@Korbik
Korbik force-pushed the clementd/introduce-authorizerbuilder-and-remove-datalog-mutability-from-au branch from cbf41ff to dab1710 Compare November 23, 2026 15:39

@Korbik Korbik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Korbik
Korbik merged commit 346a2f2 into main Nov 23, 2026
2 checks passed
@Korbik
Korbik deleted the clementd/introduce-authorizerbuilder-and-remove-datalog-mutability-from-au branch November 23, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants