Fix changeset descriptions

Signed-off-by: Joon Park <joonp@spotify.com>
This commit is contained in:
Joon Park
2022-02-01 11:07:55 +00:00
parent 86b1c46bd5
commit fd6decb02d
2 changed files with 5 additions and 5 deletions
+1 -3
View File
@@ -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).
+4 -2
View File
@@ -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';