source: database/seeders/PermissionsTableSeeder.php@ 194a359

develop
Last change on this file since 194a359 was 194a359, checked in by beratkjufliju <kufliju@…>, 3 years ago

added departments, edited users and added user settings

  • Property mode set to 100644
File size: 519 bytes
Line 
1<?php
2
3namespace Database\Seeders;
4
5use Illuminate\Database\Seeder;
6
7
8
9class PermissionsTableSeeder extends Seeder
10{
11 /**
12 * Run the database seeds.
13 *
14 * @return void
15 */
16 public function run()
17 {
18 \DB::table('permissions')->insert([
19 ["name" => "create_user"], // Create new user
20 ["name" => "access_all_users"], // Access to all users to manage
21 ["name" => "access_all_departments"], // Access to all departments to manage
22 ]);
23 }
24}
Note: See TracBrowser for help on using the repository browser.