- Timestamp:
- 10/24/21 21:22:38 (3 years ago)
- Branches:
- develop, master
- Children:
- 159e7df
- Parents:
- 112ba6d
- Location:
- database/seeders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
database/seeders/PermissionsTableSeeder.php
r112ba6d r1c17e70 28 28 ["id" => "10", "name" => "delete_folder"], // Delete your folder/s 29 29 ["id" => "11", "name" => "view_all_files"], // View all files 30 ["id" => "12", "name" => "manage_all_files"], // Accessall files30 ["id" => "12", "name" => "manage_all_files"], // Manage all files 31 31 ["id" => "13", "name" => "manage_file_types"], // Access file types 32 32 ["id" => "14", "name" => "edit_user_data"], // Access file types 33 33 ["id" => "15", "name" => "export_data"], // Export data 34 34 ["id" => "16", "name" => "download_data"], // Download data 35 ["id" => "17", "name" => "validation_data"] // File validations36 35 ]); 37 36 } -
database/seeders/RolesPermissionsTableSeeder.php
r112ba6d r1c17e70 32 32 ["role_id" => 1, "permission_id" => 15], 33 33 ["role_id" => 1, "permission_id" => 16], 34 ["role_id" => 1, "permission_id" => 17],35 34 36 35 // Referent … … 46 45 ["role_id" => 2, "permission_id" => 11], 47 46 ["role_id" => 2, "permission_id" => 12], 48 ["role_id" => 2, "permission_id" => 13],49 47 ["role_id" => 2, "permission_id" => 14], 50 48 ["role_id" => 2, "permission_id" => 15],
Note:
See TracChangeset
for help on using the changeset viewer.