permitio / cedar-agent

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

(Review Cedar) How to update part of entites #27

Open luanya01 opened 10 months ago

luanya01 commented 10 months ago

The api requires uploading the entire entities, if I modify part of data , I should regenerate json to upload.

Any suggestions?

omer9564 commented 10 months ago

This is a limitation cedar-agent has because when updating a single entity there are side effects for other entities. When we first built the project, you couldn't get the ancestors and descendants of an entity by id in cedar crate, not sure if it is still the same.