Documentation
    Preparing search index...

    Policy node to be added to the list of Bouncer authorization policies. Used for registering policies in the application's policy registry.

    const userPolicy: BouncerPolicyNode = {
    name: 'UserPolicy',
    path: '#policies/user_policy'
    }
    type BouncerPolicyNode = {
        name: string;
        path: string;
    }
    Index

    Properties

    Properties

    name: string

    The name of the policy class (should match the exported class name)

    path: string

    The import path to the policy file