Skip to main content
Version: Next

PermissionsRegistryService

Home > @backstage/backend-plugin-api > PermissionsRegistryService

Permission system integration for registering resources and permissions.

See the permissions documentation and the service documentation for more details.

Signature:

export interface PermissionsRegistryService 

Methods

Method

Description

addPermissionRules(rules)

Adds a set of permission rules to the permission system for a resource type that is owned by this plugin.

addPermissions(permissions)

Add permissions for this plugin to the permission system.

addResourceType(options)

Add a new resource type that is owned by this plugin to the permission system.