-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Labels
feature-requestThis issue requets a substantial new featureThis issue requets a substantial new featurepending-reviewA Cedar maintainer has looked at this, but believes it needs review by more of the core teamA Cedar maintainer has looked at this, but believes it needs review by more of the core team
Description
Category
User level API features/changes
Describe the feature you'd like to request
The entity creation function has no way to create an entity with tags. I'd like to see tags added as an optional parameter to the Entity::new()
function, and have them be used in authorization calculations. Additionally, a tag
function that behaves similarly to the attr
function, might be warranted.
Describe alternatives you've considered
Another option would be to add an update_tags
function, however that seems to go against the pattern of immutability I see in the current API for Entity.
Additional context
The only way, currently, to include tags on the entity is to parse it from JSON.
Is this something that you'd be interested in working on?
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change
Metadata
Metadata
Assignees
Labels
feature-requestThis issue requets a substantial new featureThis issue requets a substantial new featurepending-reviewA Cedar maintainer has looked at this, but believes it needs review by more of the core teamA Cedar maintainer has looked at this, but believes it needs review by more of the core team