source: database/seeders/RolesTableSeeder.php@ bd9e8e3

develop
Last change on this file since bd9e8e3 was 24a616f, checked in by Berat Kjufliju <kufliju@…>, 3 years ago

added documents crud, added last_seen_to_user, edited views

  • Property mode set to 100644
File size: 567 bytes
RevLine 
[7304c7f]1<?php
2
3namespace Database\Seeders;
4
5use Illuminate\Database\Seeder;
6
7class RolesTableSeeder extends Seeder
8{
9 /**
10 * Run the database seeds.
11 *
12 * @return void
13 */
14 public function run()
15 {
16 \DB::table('roles')->insert([
[194a359]17 ["name" => "Admin"], // Have access to all users(managing users), departments, documents etc
[24a616f]18 ["name" => "Referent"], // Have access to manage and view all departments, documents etc
19 ["name" => "Viewer"], // Have access to view all departments, documents etc
[7304c7f]20 ]);
21 }
22}
Note: See TracBrowser for help on using the repository browser.