permitio / cedar-agent

Cedar-agent is the easiest way to deploy and run Cedar
Apache License 2.0
144 stars 9 forks source link

Is agent support Cedar Policy template ? #26

Open luanya01 opened 10 months ago

luanya01 commented 10 months ago

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 commented 10 months ago

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 🙂