Update docs/permissions/custom-rules.md
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -184,7 +184,7 @@ To install custom rules in a plugin, we need to use the [`PermissionsRegistrySer
|
||||
import('@backstage/plugin-catalog-backend-module-scaffolder-entity-model'),
|
||||
);
|
||||
/* highlight-add-next-line */
|
||||
backend.add(import('./modules/catalogPermissionRules.ts'));
|
||||
backend.add(import('./modules/catalogPermissionRules'));
|
||||
```
|
||||
|
||||
5. Now when you run you Backstage instance - `yarn start` - the rule will be added to the catalog plugin.
|
||||
|
||||
Reference in New Issue
Block a user