source: database/seeders/PermissionsTableSeeder.php@ 53d99ce

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

added fileTypes controller, notifications, excel export, edited views

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[7304c7f]1<?php
2
3namespace Database\Seeders;
4
5use Illuminate\Database\Seeder;
6
[194a359]7
8
[7304c7f]9class PermissionsTableSeeder extends Seeder
10{
11 /**
12 * Run the database seeds.
13 *
14 * @return void
15 */
16 public function run()
17 {
[194a359]18 \DB::table('permissions')->insert([
19 ["name" => "create_user"], // Create new user
[24a616f]20 ["name" => "manage_all_users"], // Access all users to manage
21 ["name" => "manage_all_departments"], // Access all departments to manage
[c6b84df]22 ["name" => "manage_all_folders"], // Access all folders to manage
[24a616f]23 ["name" => "view_all_departments"], // Access all departments to view
[c6b84df]24 ["name" => "view_all_folders"], // Access all folders to view
25 ["name" => "edit_all_folders"], // Edit all folders
26 ["name" => "edit_folder"], // Edit your folder/s
27 ["name" => "delete_all_folders"], // Delete all folder/s
28 ["name" => "delete_folder"], // Delete your folder/s
29 ["name" => "manage_all_files"], // Access all files
30 ["name" => "manage_file_types"], // Access file types
[194a359]31 ]);
[7304c7f]32 }
33}
Note: See TracBrowser for help on using the repository browser.