cedar-policy / cedar-docs

Documentation for Cedar policy language
https://docs.cedarpolicy.com
Apache License 2.0
24 stars 23 forks source link

[Cedar Doc Issue] No description of `context` or `entities` JSON format in docs #31

Closed mwhicks1 closed 4 months ago

mwhicks1 commented 1 year ago

What were you trying to do? This is a followup from https://github.com/cedar-policy/cedar-docs/issues/30 which indicates an issue with passing in the context record to an evaluation request. In debugging the issue, I found no description in the documentation of the expected JSON format for context records, nor did I find a description of the entities JSON format. I ended up using the policy playground to debug the issue.

What is wrong and why? The documentation is missing a description of a crucial input format.

What do we need to do to fix this? Add a section to the documentation describing the format.

khieta commented 4 months ago

Resolved by https://github.com/cedar-policy/cedar-docs/commit/584778016e9d007a92f313facea4a756d247e490 (and followup commits).