Initial commit
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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'),
|
||||
}
|
||||
Reference in New Issue
Block a user