Merge pull request #26727 from zeshanziya/doc-permission
doc: permission doc typo fix
This commit is contained in:
@@ -81,13 +81,18 @@ To help validate the permission framework is setup we'll create a Test Permissio
|
||||
});
|
||||
```
|
||||
|
||||
6. We now need to register this in the backend. We will do this by adding the follow line:
|
||||
6. We now need to register this in the backend. We will do this by adding the new module and remove the existing allow all policy module as we can't have two modules setting the policy:
|
||||
|
||||
```ts title="packages/backend/src/index.ts"
|
||||
// permission plugin
|
||||
backend.add(import('@backstage/plugin-permission-backend/alpha'));
|
||||
/* highlight-remove-start */
|
||||
backend.add(
|
||||
import('@backstage/plugin-permission-backend-module-allow-all-policy'),
|
||||
);
|
||||
/* highlight-remove-end */
|
||||
/* highlight-add-next-line */
|
||||
backend.add(import('./extensions/permissionPolicyExtension'));
|
||||
backend.add(import('./extensions/permissionsPolicyExtension'));
|
||||
```
|
||||
|
||||
You now have a Test Permission Policy in place, this will help us test that the permission framework is working in the next section.
|
||||
|
||||
Reference in New Issue
Block a user