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';