Cerbos JavaScript SDK
    Preparing search index...

    Interface DerivedRolesBody

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

    interface DerivedRolesBody {
        constants?: Constants;
        definitions: DerivedRoleDefinition[];
        name: string;
        variables?: Variables;
    }
    Index

    Properties

    constants?: Constants

    Constants defined for use in conditions.

    Requires the Cerbos policy decision point server to be at least v0.40.

    definitions: DerivedRoleDefinition[]

    The definitions of the derived roles.

    name: string

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

    variables?: Variables

    Variables defined for use in conditions.

    Requires the Cerbos policy decision point server to be at least v0.29.