Files
opensem/config/laratrust_seeder.php
Ludovic CANDELLIER 0879b0abf0 add shipping rules
2023-07-16 14:45:42 +02:00

39 lines
848 B
PHP

<?php
return [
/**
* Control if the seeder should create a user per role while seeding the data.
*/
'create_users' => false,
/**
* Control if all the laratrust tables should be truncated before running the seeder.
*/
'truncate_tables' => true,
'roles_structure' => [
'superadministrator' => [
'users' => 'c,r,u,d',
'payments' => 'c,r,u,d',
'profile' => 'r,u',
],
'administrator' => [
'users' => 'c,r,u,d',
'profile' => 'r,u',
],
'user' => [
'profile' => 'r,u',
],
'role_name' => [
'module_1_name' => 'c,r,u,d',
],
],
'permissions_map' => [
'c' => 'create',
'r' => 'read',
'u' => 'update',
'd' => 'delete',
],
];