Skip to main content
Version: Next

CatalogBuilder.addPermissionRules()

Home > @backstage/plugin-catalog-backend > CatalogBuilder > addPermissionRules

Adds additional permission rules. Permission rules are used to evaluate catalog resources against queries. See PermissionRule.

Signature:

addPermissionRules(...permissionRules: Array<CatalogPermissionRuleInput | Array<CatalogPermissionRuleInput>>): this;

Parameters

Parameter

Type

Description

permissionRules

Array<CatalogPermissionRuleInput | Array<CatalogPermissionRuleInput>>

Additional permission rules

**Returns:**

this