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

Is agent support Cedar Policy template ? #26

Open
luanya01 opened this issue Jan 3, 2024 · 1 comment
Open

Is agent support Cedar Policy template ? #26

luanya01 opened this issue Jan 3, 2024 · 1 comment

Comments

@luanya01
Copy link

luanya01 commented Jan 3, 2024

To avoid the same policy compilation, cedar has policy template to use.
cedar policy template

Does cedar-agent support cedar policy template ?

I got error when I POST policy.

permit(
    principal == ?principal, 
    action in [Action::"readFile", Action::"writeFile"] 
    resource  == ?resource
  );

image

@omer9564
Copy link
Collaborator

omer9564 commented Jan 3, 2024

It currently does not support templates, it is a feature we plan on doing.
I currently don't have a timeline for that, but if you'd like to contribute it, I can help with some guidelines 🙂

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

No branches or pull requests

2 participants