Billie/config/laratrust_seeder.php

27 lines
526 B
PHP
Raw Normal View History

2025-05-06 02:47:26 +00:00
<?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' => [
'admin' => [],
'teacher' => [],
'student' => [],
],
'permissions_map' => [
'c' => 'create',
'r' => 'read',
'u' => 'update',
'd' => 'delete',
],
];