Update docs/permissions/custom-rules.md

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2025-09-12 14:10:19 +02:00
committed by GitHub
parent 31ef3f023c
commit 99bd91dcf7
+1 -1
View File
@@ -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.