From 86b1c46bd5c11d49b8e1604c893ae17688bf6e52 Mon Sep 17 00:00:00 2001 From: Joon Park Date: Mon, 31 Jan 2022 15:21:35 +0000 Subject: [PATCH] Add changeset descriptions Signed-off-by: Joon Park --- .changeset/cyan-turtles-relax.md | 2 ++ .changeset/silver-eagles-reply.md | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/.changeset/cyan-turtles-relax.md b/.changeset/cyan-turtles-relax.md index 294159e2bd..e7a8aa4c8a 100644 --- a/.changeset/cyan-turtles-relax.md +++ b/.changeset/cyan-turtles-relax.md @@ -3,3 +3,5 @@ --- 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). diff --git a/.changeset/silver-eagles-reply.md b/.changeset/silver-eagles-reply.md index 2eabca0b1f..adfbab2284 100644 --- a/.changeset/silver-eagles-reply.md +++ b/.changeset/silver-eagles-reply.md @@ -3,3 +3,21 @@ --- Permission the catalog-import route + +Use the `PermissionedRoute` for `CatalogImportPage` instead of the normal `Route`: + +```diff +// app/src/App.tsx +... ++ import { PermissionedRoute } from '@backstage/plugin-permission-react'; ++ import { catalogEntityCreatePermission } from '@backstage/plugin-catalog-common'; + +... + +- } /> ++ } ++ /> +```