Cerbos JavaScript SDK
    Preparing search index...

    Interface PrincipalRuleAction

    An override for a given action for a specific user.

    interface PrincipalRuleAction {
        action: string;
        condition?: Condition;
        effect: Effect;
        name?: string;
        output?: Output;
    }
    Index

    Properties

    action: string

    The action to override.

    Wildcards are supported.

    condition?: Condition

    The condition that must be met for the override to apply.

    effect: Effect

    The effect of the override.

    name?: string

    A descriptive name for the rule.

    output?: Output

    User-defined output to be produced when evaluating the rule.

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