Skip to content

Support permissive-mode validation in the CLI #156

@mwhicks1

Description

@mwhicks1

Category

Other

Describe the feature you'd like to request

The CLI always calls the validator in the default (strict) mode. I'd like to add a command-line flag to allow permissive mode.

Describe the solution you'd like

Extending lib.rs in the cedar-policy-cli directory to support an additional validation flag.

Describe alternatives you've considered

The only alternative is not to allow calling permissive mode from the CLI at all, but this seems weird since we support it in the library APIs

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

    feature-requestThis issue requets a substantial new featuregood-first-issueGood for newcomers. A smaller issue that someone new to the Cedar codebase should be able to tacklehelp-wantedCommunity help desired. We have not scheduled time to fix this, but think it important.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions