29 lines
1.6 KiB
PHP
29 lines
1.6 KiB
PHP
|
|
<?php
|
|||
|
|
|
|||
|
|
use Illuminate\Database\Seeder;
|
|||
|
|
|
|||
|
|
class PermissionsSeeder extends Seeder
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* Run the database seeds.
|
|||
|
|
*
|
|||
|
|
* @return void
|
|||
|
|
*/
|
|||
|
|
public function run()
|
|||
|
|
{
|
|||
|
|
DB::table('permissions')->insert([
|
|||
|
|
['name' => 'Register Incoming Document', 'description' => 'Register Incoming Document', 'created_at' => now()],
|
|||
|
|
['name' => 'Register Outgoing Document without Workflow', 'description' => 'Register Outgoing Document without Workflow', 'created_at' => now()],
|
|||
|
|
['name' => 'Upload Scanned version of Outgoing Document', 'description' => 'Upload Scanned version of Outgoing Document (Final Approved)', 'created_at' => now()],
|
|||
|
|
['name' => 'Add Contact', 'description' => 'Add Contact', 'created_at' => now()],
|
|||
|
|
['name' => 'Edit Contact', 'description' => 'Edit Contact', 'created_at' => now()],
|
|||
|
|
['name' => 'Delete Contact', 'description' => 'Delete Contact', 'created_at' => now()],
|
|||
|
|
['name' => 'Approve Contact', 'description' => 'Approve Contact', 'created_at' => now()],
|
|||
|
|
['name' => 'Outgoing Document Workflow – Final Approval', 'description' => 'Outgoing Workflow(Outgoing Document) – Final Approval', 'created_at' => now()],
|
|||
|
|
['name' => 'Manage Share Folders', 'description' => 'Create Share Folder in Shared Folders (and give access rights to users or Departments)', 'created_at' => now()],
|
|||
|
|
['name' => 'Add Related Document', 'description' => 'NULL', 'created_at' => now()],
|
|||
|
|
['name' => 'Remove/Edit Related Document', 'description' => 'NULL', 'created_at' => now()],
|
|||
|
|
]);
|
|||
|
|
}
|
|||
|
|
}
|