Skip to content

DRT should use cedar-policy::is_authorized and cedar-policy::validate #75

@khieta

Description

@khieta

Category

DRT infrastructure

Describe the feature you'd like to request

The DRT infrastructure currently tests the is_authorized function in cedar-policy-core and the validate function in cedar-policy-validator. I think it would be cleaner to use the APIs available in the public cedar-policy crate instead. This gives a more "end-to-end" feel to our tests and allows us to use the interfaces in cedar-policy/src/frontend for more consistent input/output formats.

Describe the solution you'd like

N/A

Describe alternatives you've considered

N/A

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    fuzzinternal-improvementRefactoring, performance improvement, or other non-breaking change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions