added info block as suggested to inform permissions are setup when using create-app, reworded section

Signed-off-by: Peter Macdonald <macdonald.peter90@gmail.com>
This commit is contained in:
Peter Macdonald
2024-05-02 16:35:04 +02:00
parent dbc37cc75e
commit 244b57722a
+5 -1
View File
@@ -24,9 +24,13 @@ Like many other parts of Backstage, the permissions framework relies on informat
## Integrating the permission framework with your Backstage instance
:::info
If you created your backstage app using the [@backstage/create-app](https://backstage.io/docs/getting-started/#1-create-your-backstage-app), the permission framework will already be setup including the allow-all policy!
:::
### 1. Set up the permission backend
The permissions framework uses a new `permission-backend` plugin to accept authorization requests from other plugins across your Backstage instance. The Backstage backend does not include this permission backend by default, so you will need to add it:
The permissions framework uses the `permission-backend` plugin to accept authorization requests from other plugins across your Backstage deployment. The default `@backstage/create-app` template includes the permission backend, but if you need to make the change manually, these are the steps:
1. Add `@backstage/plugin-permission-backend` and `@backstage/plugin-permission-backend-module-allow-all-policy` to your backend dependencies, this will add the permission backend and a policy that allows all permissions: