Cerbos JavaScript SDK
    Preparing search index...

    Interface DerivedRoleDefinition

    The definition of a derived role.

    interface DerivedRoleDefinition {
        condition?: Condition;
        name: string;
        parentRoles: string[];
    }
    Index

    Properties

    condition?: Condition

    A set of expressions that must evaluate to true to activate the derived role.

    name: string

    A descriptive name for the derived role.

    parentRoles: string[]

    The static roles (from the identity provider) to which this derived role applies.

    The special value * can be used to match any role.