18 lines
570 B
TypeScript
Executable File
18 lines
570 B
TypeScript
Executable File
/*
|
|
|--------------------------------------------------------------------------
|
|
| Bouncer policies
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| You may define a collection of policies inside this file and pre-register
|
|
| them when creating a new bouncer instance.
|
|
|
|
|
| Pre-registered policies and abilities can be referenced as a string by their
|
|
| name. Also they are must if want to perform authorization inside Edge
|
|
| templates.
|
|
|
|
|
*/
|
|
|
|
export const policies = {
|
|
AdminsPolicy: () => import('#base_modules/Admin/policy/admin_policy'),
|
|
}
|