Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
luanya01 opened this issue Jan 4, 2024 · 1 comment
Open

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

luanya01 opened this issue Jan 4, 2024 · 1 comment

Comments

@luanya01
Copy link

luanya01 commented Jan 4, 2024

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

Any suggestions?

@omer9564
Copy link
Collaborator

omer9564 commented Jan 4, 2024

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.

@linear linear bot changed the title How to update part of entites Cedar Ageמt issue #27 Jan 7, 2024
@linear linear bot changed the title Cedar Ageמt issue #27 Cedar Agent issue #27 Jan 7, 2024
@linear linear bot changed the title Cedar Agent issue #27 How to update part of entites Jan 15, 2024
@linear linear bot added the Cedar-Agent label Jan 16, 2024
@linear linear bot changed the title How to update part of entites (Review Cedar) How to update part of entites Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants