From 593250a8039e532ec5c38f45045a31e01f13b7f5 Mon Sep 17 00:00:00 2001 From: Charlie Murphy Date: Thu, 6 Feb 2025 17:17:59 +0000 Subject: [PATCH] Updates protobuf Entity schema to remove field which was not added to ast::Entity structs. --- cedar-policy-core/protobuf_schema/AST.proto | 3 +-- cedar-policy-core/src/entities.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cedar-policy-core/protobuf_schema/AST.proto b/cedar-policy-core/protobuf_schema/AST.proto index 695123d99..91939fdde 100644 --- a/cedar-policy-core/protobuf_schema/AST.proto +++ b/cedar-policy-core/protobuf_schema/AST.proto @@ -317,8 +317,7 @@ message Entity { map attrs = 2; repeated EntityUid ancestors = 3; repeated EntityUid parents = 4; - repeated EntityUid decendants = 5; - map tags = 6; + map tags = 5; } // END ENTITIES MESSAGES diff --git a/cedar-policy-core/src/entities.rs b/cedar-policy-core/src/entities.rs index cd74bbf6e..4734260d2 100644 --- a/cedar-policy-core/src/entities.rs +++ b/cedar-policy-core/src/entities.rs @@ -152,7 +152,7 @@ impl Entities { Ok(self) } - /// Removes the [`Crate::ast::EntityUID`]s in the interator from this [`Entities`] + /// Removes the [`crate::ast::EntityUID`]s in the interator from this [`Entities`] /// Fails if any error is encountered in the transitive closure computation. /// /// If you pass [`TCComputation::AssumeAlreadyComputed`], then the caller is