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'} Copy
const userPolicy: BouncerPolicyNode = { name: 'UserPolicy', path: '#policies/user_policy'}
The name of the policy class (should match the exported class name)
The import path to the policy file
Policy node to be added to the list of Bouncer authorization policies. Used for registering policies in the application's policy registry.
Example