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] Schema #37

Closed max2me closed 4 months ago

max2me commented 1 year ago

We could refine a couple of statements on schema format:

appliesTo Specifies a JSON object containing two lists, principalTypes and resourceTypes, which contain the principal and resources entity types, respectively, that can accompany the action in an authorization request.

Context is also a part of appliesTo.

Each context entry consists of type and attributes objects. The type object is always the type Record.

With commonTypes now available, context can be of shape of one of common types.

bisdavid commented 1 year ago

Thanks for reporting this Max. On my todo list. :-)

kinclay commented 4 months ago

This has been updated.