Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datalog components parser helper and authorization helper #120

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

KannarFr
Copy link
Contributor

@KannarFr KannarFr commented Apr 4, 2025

Add string-based Datalog parsing support

Changes:

  1. Authorizer.java: Add a new addDatalog method to support parsing and adding Datalog components from a string
  2. Parser.java: Refactor the datalog method into datalogComponents to support parsing Datalog strings into separate components (facts, rules, checks, scopes)

This change enables more straightforward Authorizer creation through string-based input, improving usability and testing capabilities.

@KannarFr KannarFr force-pushed the componentsParserAuthorizationHelper branch from 8248852 to 0166d33 Compare April 4, 2025 15:09
@KannarFr
Copy link
Contributor Author

KannarFr commented Apr 7, 2025

Hi @Korbik, may I ping you directly for a review?

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.

3 participants