From 2cac8b0e9df88a175daf7221d7fe9aeb477f2cac Mon Sep 17 00:00:00 2001 From: Eric Peterson Date: Wed, 4 Jun 2025 11:50:47 +0200 Subject: [PATCH] Add changeset and fix up API report Signed-off-by: Eric Peterson --- .changeset/mira-flygande-spoons.md | 5 +++++ plugins/catalog-backend/report-alpha.api.md | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/mira-flygande-spoons.md diff --git a/.changeset/mira-flygande-spoons.md b/.changeset/mira-flygande-spoons.md new file mode 100644 index 0000000000..c4c50f117a --- /dev/null +++ b/.changeset/mira-flygande-spoons.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog-backend': patch +--- + +You can now specify an optional value when applying the `HAS_LABEL` permission rule, similar to the `HAS_ANNOTATION` permission rule. diff --git a/plugins/catalog-backend/report-alpha.api.md b/plugins/catalog-backend/report-alpha.api.md index ca521a568d..caa77a0d40 100644 --- a/plugins/catalog-backend/report-alpha.api.md +++ b/plugins/catalog-backend/report-alpha.api.md @@ -30,6 +30,7 @@ export const catalogConditions: Conditions<{ 'catalog-entity', { label: string; + value?: string | undefined; } >; hasMetadata: PermissionRule< @@ -103,6 +104,7 @@ export const permissionRules: { 'catalog-entity', { label: string; + value?: string | undefined; } >; hasMetadata: PermissionRule<