Slackbot
06/23/2023, 4:30 PMAsaf Cohen
06/23/2023, 4:35 PMYuan
06/23/2023, 5:18 PMEntities
instead of a EntitiesRepository
that makes query during the evaluation.
I'd love to know how a pluggable data store may work with the existing authorizer APIs in CedarAsaf Cohen
06/23/2023, 7:40 PMYuan
06/24/2023, 2:18 AMAsaf Cohen
06/24/2023, 8:28 AMEntity
which is the JSON schema of the API directly into ast::Entity
which is the cedar format.
So actually ast::Entity
looks to be both the stored format and the input that goes into Cedar, while Entity
is the format expected by the API Endpoint.
@Omer Zuarets the code author might be able to elaborate more 🙂
Link:
https://github.com/permitio/cedar-agent/blob/main/src/schemas/data.rs#L21C1-L27C2Omer Zuarets
06/24/2023, 8:39 AMYuan
06/24/2023, 3:21 PMOmer Zuarets
06/24/2023, 3:30 PMYuan
06/27/2023, 6:08 PM