Skip to content

cedar-py swallow errors if invalid schema is provided #27

@bdatdo0601

Description

@bdatdo0601

Hi,

I am planning to integrate Cedar policy engine in our application via cedar-py binding library. I noticed when passing an invalid schema, cedar-py will ignore it and only validate the request against entities and policies. There were no indication from AuthzResult response neither.

Would it make sense to have the expected behavior to fail the the authorization if a non-empty invalid schema is provided? Happy to raise a PR from my end as well

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions