From fd6decb02dafcc2b264d8c3546996f153c532eb6 Mon Sep 17 00:00:00 2001 From: Joon Park Date: Tue, 1 Feb 2022 11:07:55 +0000 Subject: [PATCH] Fix changeset descriptions Signed-off-by: Joon Park --- .changeset/cyan-turtles-relax.md | 4 +--- .changeset/silver-eagles-reply.md | 6 ++++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.changeset/cyan-turtles-relax.md b/.changeset/cyan-turtles-relax.md index e7a8aa4c8a..4f7857c30c 100644 --- a/.changeset/cyan-turtles-relax.md +++ b/.changeset/cyan-turtles-relax.md @@ -2,6 +2,4 @@ '@backstage/plugin-catalog-common': patch --- -Add catalogEntityCreatePermission - -The `catalogEntityCreatePermission` can be imported and used when authoring a permission policy to restrict/grant a user's access to the catalog import plugin. (And the "Register Existing Component" button which navigates there). +Adds new `catalogEntityCreatePermission` which can be imported and used when authoring a permission policy to restrict/grant a user's access to the catalog import plugin. (And the "Register Existing Component" button which navigates there). diff --git a/.changeset/silver-eagles-reply.md b/.changeset/silver-eagles-reply.md index adfbab2284..db69525768 100644 --- a/.changeset/silver-eagles-reply.md +++ b/.changeset/silver-eagles-reply.md @@ -2,12 +2,14 @@ '@backstage/create-app': patch --- -Permission the catalog-import route +Permission the `catalog-import` route + +The following changes are **required** if you intend to add permissions to your existing app. Use the `PermissionedRoute` for `CatalogImportPage` instead of the normal `Route`: ```diff -// app/src/App.tsx +// packages/app/src/App.tsx ... + import { PermissionedRoute } from '@backstage/plugin-permission-react'; + import { catalogEntityCreatePermission } from '@backstage/plugin-catalog-common';