Skip to content

Add "assignment checks" to API endpoints that set labels on entities #37104

@lucasmrod

Description

@lucasmrod

Related user story

#33760

Task

Now that we are introducing labels that can belong to teams, we need to add checks on all the API endpoints that allow configuring labels on entities (policies, queries, software installers, VPP apps, FMAs and profiles).
The check is to make sure the team the labels belong to match the team of the entity being configured.

Image

Metadata

Metadata

Assignees

Labels

#g-orchestrationOrchestration product group~sub-taskA technical sub-task that is part of a story. (Not QA'd. Not estimated.)

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions