Skip to content

datalog components parser helper and authorization helper #119

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

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 6c19ee3 to 8248852 Compare April 4, 2025 14:18
@KannarFr KannarFr closed this Apr 4, 2025
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.

1 participant