Apply suggestions from code review
Co-authored-by: Fredrik Adelöw <freben@gmail.com> Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ import { createPermissionIntegrationRouter } from '@backstage/plugin-permission-
|
||||
/**
|
||||
* Permission system integration for registering resources and permissions.
|
||||
*
|
||||
* See {@link @backstage/code-plugin-api#PermissionsRegistryService}
|
||||
* See {@link @backstage/core-plugin-api#PermissionsRegistryService}
|
||||
* and {@link https://backstage.io/docs/backend-system/core-services/permission-integrations | the service docs}
|
||||
* for more information.
|
||||
*
|
||||
|
||||
@@ -57,7 +57,7 @@ export type PermissionsRegistryServiceAddResourceTypeOptions<
|
||||
*
|
||||
* If this function is not provided the permission system will not be able to
|
||||
* resolve conditional decisions except when requesting resources directly
|
||||
* form the plugin.
|
||||
* from the plugin.
|
||||
*/
|
||||
getResources?(resourceRefs: string[]): Promise<Array<TResource | undefined>>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user