Fix changeset descriptions
Signed-off-by: Joon Park <joonp@spotify.com>
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user