Updated Seeders
This commit is contained in:
parent
264c44529a
commit
6f11313362
|
@ -47,6 +47,7 @@ class RoleSeeder extends Seeder
|
|||
$brugerPermissions->add(\Spatie\Permission\Models\Permission::query()->where("name", "=", "menuplan.list")->first());
|
||||
$brugerPermissions->add(\Spatie\Permission\Models\Permission::query()->where("name", "=", "washing.machine.reservation.create")->first());
|
||||
$brugerPermissions->add(\Spatie\Permission\Models\Permission::query()->where("name", "=", "washing.machine.reservation.delete")->first());
|
||||
$brugerPermissions->add(\Spatie\Permission\Models\Permission::query()->where("name", "=", "washing.machine.reservation.list")->first());
|
||||
|
||||
//Give permissions to Bruger (id: 2)
|
||||
foreach ($brugerPermissions as $permission) {
|
||||
|
|
Loading…
Reference in New Issue