Skip to content

Update rest-api.md - #46353

Merged
rachaelshaw merged 1 commit into
docs-v4.88.0from
33441-api-yaml
May 28, 2026
Merged

Update rest-api.md#46353
rachaelshaw merged 1 commit into
docs-v4.88.0from
33441-api-yaml

Conversation

@rachaelshaw

Copy link
Copy Markdown
Member

@rachaelshaw
rachaelshaw requested a review from eashaw as a code owner May 28, 2026 16:19

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@rachaelshaw
rachaelshaw merged commit a4719fb into docs-v4.88.0 May 28, 2026
16 checks passed
@rachaelshaw
rachaelshaw deleted the 33441-api-yaml branch May 28, 2026 16:19
@rachaelshaw
rachaelshaw restored the 33441-api-yaml branch May 29, 2026 22:32
nulmete added a commit that referenced this pull request Jun 17, 2026
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #47677 

Updating code so that it matches the docs (all label inclusions and
exclusions for policies should be premium-only):
- #47643
- #46353

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Bug Fixes
* Global and team policy label scoping now consistently enforces premium
licensing for `labels_include_any` and `labels_exclude_any` (in addition
to existing `any/all` restrictions).
* Non-premium requests that include these label filter fields are
rejected earlier with the appropriate license error.
* GitOps policy export/validation now omits or disallows
`labels_include_any`/`labels_exclude_any` on non-premium instances.

## Tests
* Expanded coverage to verify premium gating behavior across global
policy create/modify and spec-based policy application, including GitOps
validation paths.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants