Skip to content

Latest commit

 

History

History
114 lines (51 loc) · 1.55 KB

core.derivedrolesbody.md

File metadata and controls

114 lines (51 loc) · 1.55 KB

Home > @cerbos/core > DerivedRolesBody

DerivedRolesBody interface

A set of derived roles to augment static RBAC roles with contextual data to provide more fine-grained control at runtime.

Signature:

export interface DerivedRolesBody 

Properties

Property

Modifiers

Type

Description

constants?

Constants | undefined

(Optional) Constants defined for use in conditions.

definitions

DerivedRoleDefinition[]

The definitions of the derived roles.

name

string

The name to use when importing the set of derived roles.

variables?

Variables | undefined

(Optional) Variables defined for use in conditions.