File: /var/www/ivs.kaunokolegija.lt/laravel/database/seeders/PermissionsTableSeeder.php
<?php
namespace Database\Seeders;
use App\Models\Permission;
use Illuminate\Database\Seeder;
class PermissionsTableSeeder extends Seeder
{
public function run()
{
$permissions = [
[
'id' => 1,
'title' => 'user_management_access',
],
[
'id' => 2,
'title' => 'permission_create',
],
[
'id' => 3,
'title' => 'permission_edit',
],
[
'id' => 4,
'title' => 'permission_delete',
],
[
'id' => 5,
'title' => 'permission_access',
],
[
'id' => 6,
'title' => 'role_create',
],
[
'id' => 7,
'title' => 'role_edit',
],
[
'id' => 8,
'title' => 'role_delete',
],
[
'id' => 9,
'title' => 'role_access',
],
[
'id' => 10,
'title' => 'user_create',
],
[
'id' => 11,
'title' => 'user_edit',
],
[
'id' => 12,
'title' => 'user_delete',
],
[
'id' => 13,
'title' => 'user_access',
],
[
'id' => 14,
'title' => 'audit_log_show',
],
[
'id' => 15,
'title' => 'audit_log_access',
],
[
'id' => 16,
'title' => 'klasifikatoriai_access',
],
[
'id' => 17,
'title' => 'department_create',
],
[
'id' => 18,
'title' => 'department_edit',
],
[
'id' => 19,
'title' => 'department_delete',
],
[
'id' => 20,
'title' => 'department_access',
],
[
'id' => 21,
'title' => 'department_subsection_create',
],
[
'id' => 22,
'title' => 'department_subsection_edit',
],
[
'id' => 23,
'title' => 'department_subsection_delete',
],
[
'id' => 24,
'title' => 'department_subsection_access',
],
[
'id' => 25,
'title' => 'reliability_state_create',
],
[
'id' => 26,
'title' => 'reliability_state_edit',
],
[
'id' => 27,
'title' => 'reliability_state_delete',
],
[
'id' => 28,
'title' => 'reliability_state_access',
],
[
'id' => 29,
'title' => 'areas_of_cooperation_create',
],
[
'id' => 30,
'title' => 'areas_of_cooperation_edit',
],
[
'id' => 31,
'title' => 'areas_of_cooperation_delete',
],
[
'id' => 32,
'title' => 'areas_of_cooperation_access',
],
[
'id' => 33,
'title' => 'coop_agreement_type_create',
],
[
'id' => 34,
'title' => 'coop_agreement_type_edit',
],
[
'id' => 35,
'title' => 'coop_agreement_type_show',
],
[
'id' => 36,
'title' => 'coop_agreement_type_delete',
],
[
'id' => 37,
'title' => 'coop_agreement_type_access',
],
[
'id' => 38,
'title' => 'coop_agreement_state_create',
],
[
'id' => 39,
'title' => 'coop_agreement_state_edit',
],
[
'id' => 40,
'title' => 'coop_agreement_state_show',
],
[
'id' => 41,
'title' => 'coop_agreement_state_delete',
],
[
'id' => 42,
'title' => 'coop_agreement_state_access',
],
[
'id' => 43,
'title' => 'legal_status_create',
],
[
'id' => 44,
'title' => 'legal_status_edit',
],
[
'id' => 45,
'title' => 'legal_status_delete',
],
[
'id' => 46,
'title' => 'legal_status_access',
],
[
'id' => 47,
'title' => 'company_create',
],
[
'id' => 48,
'title' => 'company_edit',
],
[
'id' => 49,
'title' => 'company_show',
],
[
'id' => 50,
'title' => 'company_delete',
],
[
'id' => 51,
'title' => 'company_access',
],
[
'id' => 52,
'title' => 'socialine_partneryste_access',
],
[
'id' => 53,
'title' => 'contact_person_create',
],
[
'id' => 54,
'title' => 'contact_person_edit',
],
[
'id' => 55,
'title' => 'contact_person_delete',
],
[
'id' => 56,
'title' => 'contact_person_access',
],
[
'id' => 57,
'title' => 'coop_agreement_create',
],
[
'id' => 58,
'title' => 'coop_agreement_edit',
],
[
'id' => 59,
'title' => 'coop_agreement_show',
],
[
'id' => 60,
'title' => 'coop_agreement_delete',
],
[
'id' => 61,
'title' => 'coop_agreement_access',
],
[
'id' => 62,
'title' => 'activity_planning_access',
],
[
'id' => 63,
'title' => 'activity_access',
],
[
'id' => 64,
'title' => 'activity_type_create',
],
[
'id' => 65,
'title' => 'activity_type_edit',
],
[
'id' => 66,
'title' => 'activity_type_delete',
],
[
'id' => 67,
'title' => 'activity_type_access',
],
[
'id' => 68,
'title' => 'activity_sub_type_create',
],
[
'id' => 69,
'title' => 'activity_sub_type_edit',
],
[
'id' => 70,
'title' => 'activity_sub_type_delete',
],
[
'id' => 71,
'title' => 'activity_sub_type_access',
],
[
'id' => 72,
'title' => 'activity_entry_create',
],
[
'id' => 73,
'title' => 'activity_entry_edit',
],
[
'id' => 74,
'title' => 'activity_entry_show',
],
[
'id' => 75,
'title' => 'activity_entry_delete',
],
[
'id' => 76,
'title' => 'activity_entry_access',
],
[
'id' => 77,
'title' => 'future_activity_planning_create',
],
[
'id' => 78,
'title' => 'future_activity_planning_edit',
],
[
'id' => 79,
'title' => 'future_activity_planning_show',
],
[
'id' => 80,
'title' => 'future_activity_planning_delete',
],
[
'id' => 81,
'title' => 'future_activity_planning_access',
],
[
'id' => 82,
'title' => 'outsourced_activity_access',
],
[
'id' => 83,
'title' => 'scientist_create',
],
[
'id' => 84,
'title' => 'scientist_edit',
],
[
'id' => 85,
'title' => 'scientist_show',
],
[
'id' => 86,
'title' => 'scientist_delete',
],
[
'id' => 87,
'title' => 'scientist_access',
],
[
'id' => 88,
'title' => 'student_create',
],
[
'id' => 89,
'title' => 'student_edit',
],
[
'id' => 90,
'title' => 'student_delete',
],
[
'id' => 91,
'title' => 'student_access',
],
[
'id' => 92,
'title' => 'science_activity_create',
],
[
'id' => 93,
'title' => 'science_activity_edit',
],
[
'id' => 94,
'title' => 'science_activity_show',
],
[
'id' => 95,
'title' => 'science_activity_delete',
],
[
'id' => 96,
'title' => 'science_activity_access',
],
[
'id' => 97,
'title' => 'scienceklasif_access',
],
[
'id' => 98,
'title' => 'science_area_create',
],
[
'id' => 99,
'title' => 'science_area_edit',
],
[
'id' => 100,
'title' => 'science_area_delete',
],
[
'id' => 101,
'title' => 'science_area_access',
],
[
'id' => 102,
'title' => 'science_direction_create',
],
[
'id' => 103,
'title' => 'science_direction_edit',
],
[
'id' => 104,
'title' => 'science_direction_delete',
],
[
'id' => 105,
'title' => 'science_direction_access',
],
[
'id' => 106,
'title' => 'study_program_create',
],
[
'id' => 107,
'title' => 'study_program_edit',
],
[
'id' => 108,
'title' => 'study_program_delete',
],
[
'id' => 109,
'title' => 'study_program_access',
],
[
'id' => 110,
'title' => 'alumni_company_create',
],
[
'id' => 111,
'title' => 'alumni_company_edit',
],
[
'id' => 112,
'title' => 'alumni_company_show',
],
[
'id' => 113,
'title' => 'alumni_company_delete',
],
[
'id' => 114,
'title' => 'alumni_company_access',
],
[
'id' => 115,
'title' => 'alumnu_access',
],
[
'id' => 116,
'title' => 'alumny_create',
],
[
'id' => 117,
'title' => 'alumny_edit',
],
[
'id' => 118,
'title' => 'alumny_show',
],
[
'id' => 119,
'title' => 'alumny_delete',
],
[
'id' => 120,
'title' => 'alumny_access',
],
[
'id' => 121,
'title' => 'position_create',
],
[
'id' => 122,
'title' => 'position_edit',
],
[
'id' => 123,
'title' => 'position_delete',
],
[
'id' => 124,
'title' => 'position_access',
],
[
'id' => 125,
'title' => 'area_of_interest_create',
],
[
'id' => 126,
'title' => 'area_of_interest_edit',
],
[
'id' => 127,
'title' => 'area_of_interest_delete',
],
[
'id' => 128,
'title' => 'area_of_interest_access',
],
[
'id' => 129,
'title' => 'activity_participant_access',
],
[
'id' => 130,
'title' => 'research_field_create',
],
[
'id' => 131,
'title' => 'research_field_edit',
],
[
'id' => 132,
'title' => 'research_field_delete',
],
[
'id' => 133,
'title' => 'research_field_access',
],
[
'id' => 134,
'title' => 'work_experience_create',
],
[
'id' => 135,
'title' => 'work_experience_edit',
],
[
'id' => 136,
'title' => 'work_experience_delete',
],
[
'id' => 137,
'title' => 'work_experience_access',
],
[
'id' => 138,
'title' => 'expert_activity_create',
],
[
'id' => 139,
'title' => 'expert_activity_edit',
],
[
'id' => 140,
'title' => 'expert_activity_delete',
],
[
'id' => 141,
'title' => 'expert_activity_access',
],
[
'id' => 142,
'title' => 'int_science_project_create',
],
[
'id' => 143,
'title' => 'int_science_project_edit',
],
[
'id' => 144,
'title' => 'int_science_project_delete',
],
[
'id' => 145,
'title' => 'int_science_project_access',
],
[
'id' => 146,
'title' => 'nat_science_project_create',
],
[
'id' => 147,
'title' => 'nat_science_project_edit',
],
[
'id' => 148,
'title' => 'nat_science_project_delete',
],
[
'id' => 149,
'title' => 'nat_science_project_access',
],
[
'id' => 150,
'title' => 'project_type_create',
],
[
'id' => 151,
'title' => 'project_type_edit',
],
[
'id' => 152,
'title' => 'project_type_delete',
],
[
'id' => 153,
'title' => 'project_type_access',
],
[
'id' => 154,
'title' => 'inst_project_create',
],
[
'id' => 155,
'title' => 'inst_project_edit',
],
[
'id' => 156,
'title' => 'inst_project_delete',
],
[
'id' => 157,
'title' => 'inst_project_access',
],
[
'id' => 158,
'title' => 'study_publication_create',
],
[
'id' => 159,
'title' => 'study_publication_edit',
],
[
'id' => 160,
'title' => 'study_publication_delete',
],
[
'id' => 161,
'title' => 'study_publication_access',
],
[
'id' => 162,
'title' => 'publisher_create',
],
[
'id' => 163,
'title' => 'publisher_edit',
],
[
'id' => 164,
'title' => 'publisher_delete',
],
[
'id' => 165,
'title' => 'publisher_access',
],
[
'id' => 166,
'title' => 'science_publication_create',
],
[
'id' => 167,
'title' => 'science_publication_edit',
],
[
'id' => 168,
'title' => 'science_publication_delete',
],
[
'id' => 169,
'title' => 'science_publication_access',
],
[
'id' => 170,
'title' => 'int_science_paper_create',
],
[
'id' => 171,
'title' => 'int_science_paper_edit',
],
[
'id' => 172,
'title' => 'int_science_paper_delete',
],
[
'id' => 173,
'title' => 'int_science_paper_access',
],
[
'id' => 174,
'title' => 'other_research_access',
],
[
'id' => 175,
'title' => 'final_work_type_create',
],
[
'id' => 176,
'title' => 'final_work_type_edit',
],
[
'id' => 177,
'title' => 'final_work_type_delete',
],
[
'id' => 178,
'title' => 'final_work_type_access',
],
[
'id' => 179,
'title' => 'patent_tag_create',
],
[
'id' => 180,
'title' => 'patent_tag_edit',
],
[
'id' => 181,
'title' => 'patent_tag_delete',
],
[
'id' => 182,
'title' => 'patent_tag_access',
],
[
'id' => 183,
'title' => 'final_work_institution_create',
],
[
'id' => 184,
'title' => 'final_work_institution_edit',
],
[
'id' => 185,
'title' => 'final_work_institution_delete',
],
[
'id' => 186,
'title' => 'final_work_institution_access',
],
[
'id' => 187,
'title' => 'supervised_thesi_create',
],
[
'id' => 188,
'title' => 'supervised_thesi_edit',
],
[
'id' => 189,
'title' => 'supervised_thesi_delete',
],
[
'id' => 190,
'title' => 'supervised_thesi_access',
],
[
'id' => 191,
'title' => 'patent_create',
],
[
'id' => 192,
'title' => 'patent_edit',
],
[
'id' => 193,
'title' => 'patent_delete',
],
[
'id' => 194,
'title' => 'patent_access',
],
[
'id' => 195,
'title' => 'patent_application_create',
],
[
'id' => 196,
'title' => 'patent_application_edit',
],
[
'id' => 197,
'title' => 'patent_application_delete',
],
[
'id' => 198,
'title' => 'patent_application_access',
],
[
'id' => 199,
'title' => 'scientific_publication_create',
],
[
'id' => 200,
'title' => 'scientific_publication_edit',
],
[
'id' => 201,
'title' => 'scientific_publication_delete',
],
[
'id' => 202,
'title' => 'scientific_publication_access',
],
[
'id' => 203,
'title' => 'peer_reviewed_article_create',
],
[
'id' => 204,
'title' => 'peer_reviewed_article_edit',
],
[
'id' => 205,
'title' => 'peer_reviewed_article_delete',
],
[
'id' => 206,
'title' => 'peer_reviewed_article_access',
],
[
'id' => 207,
'title' => 'applied_scientific_publication_create',
],
[
'id' => 208,
'title' => 'applied_scientific_publication_edit',
],
[
'id' => 209,
'title' => 'applied_scientific_publication_delete',
],
[
'id' => 210,
'title' => 'applied_scientific_publication_access',
],
[
'id' => 211,
'title' => 'art_and_other_publication_create',
],
[
'id' => 212,
'title' => 'art_and_other_publication_edit',
],
[
'id' => 213,
'title' => 'art_and_other_publication_delete',
],
[
'id' => 214,
'title' => 'art_and_other_publication_access',
],
[
'id' => 215,
'title' => 'scientific_review_create',
],
[
'id' => 216,
'title' => 'scientific_review_edit',
],
[
'id' => 217,
'title' => 'scientific_review_delete',
],
[
'id' => 218,
'title' => 'scientific_review_access',
],
[
'id' => 219,
'title' => 'scientific_conference_type_create',
],
[
'id' => 220,
'title' => 'scientific_conference_type_edit',
],
[
'id' => 221,
'title' => 'scientific_conference_type_delete',
],
[
'id' => 222,
'title' => 'scientific_conference_type_access',
],
[
'id' => 223,
'title' => 'conference_abstract_create',
],
[
'id' => 224,
'title' => 'conference_abstract_edit',
],
[
'id' => 225,
'title' => 'conference_abstract_delete',
],
[
'id' => 226,
'title' => 'conference_abstract_access',
],
[
'id' => 227,
'title' => 'translation_type_create',
],
[
'id' => 228,
'title' => 'translation_type_edit',
],
[
'id' => 229,
'title' => 'translation_type_delete',
],
[
'id' => 230,
'title' => 'translation_type_access',
],
[
'id' => 231,
'title' => 'scientific_translation_create',
],
[
'id' => 232,
'title' => 'scientific_translation_edit',
],
[
'id' => 233,
'title' => 'scientific_translation_delete',
],
[
'id' => 234,
'title' => 'scientific_translation_access',
],
[
'id' => 235,
'title' => 'art_work_type_create',
],
[
'id' => 236,
'title' => 'art_work_type_edit',
],
[
'id' => 237,
'title' => 'art_work_type_delete',
],
[
'id' => 238,
'title' => 'art_work_type_access',
],
[
'id' => 239,
'title' => 'art_work_create',
],
[
'id' => 240,
'title' => 'art_work_edit',
],
[
'id' => 241,
'title' => 'art_work_delete',
],
[
'id' => 242,
'title' => 'art_work_access',
],
[
'id' => 243,
'title' => 'country_create',
],
[
'id' => 244,
'title' => 'country_edit',
],
[
'id' => 245,
'title' => 'country_delete',
],
[
'id' => 246,
'title' => 'country_access',
],
[
'id' => 247,
'title' => 'professional_development_type_create',
],
[
'id' => 248,
'title' => 'professional_development_type_edit',
],
[
'id' => 249,
'title' => 'professional_development_type_delete',
],
[
'id' => 250,
'title' => 'professional_development_type_access',
],
[
'id' => 251,
'title' => 'professional_development_create',
],
[
'id' => 252,
'title' => 'professional_development_edit',
],
[
'id' => 253,
'title' => 'professional_development_delete',
],
[
'id' => 254,
'title' => 'professional_development_access',
],
[
'id' => 255,
'title' => 'honors_and_award_create',
],
[
'id' => 256,
'title' => 'honors_and_award_edit',
],
[
'id' => 257,
'title' => 'honors_and_award_delete',
],
[
'id' => 258,
'title' => 'honors_and_award_access',
],
[
'id' => 259,
'title' => 'researcher_group_create',
],
[
'id' => 260,
'title' => 'researcher_group_edit',
],
[
'id' => 261,
'title' => 'researcher_group_delete',
],
[
'id' => 262,
'title' => 'researcher_group_access',
],
[
'id' => 263,
'title' => 'researcher_sub_group_create',
],
[
'id' => 264,
'title' => 'researcher_sub_group_edit',
],
[
'id' => 265,
'title' => 'researcher_sub_group_delete',
],
[
'id' => 266,
'title' => 'researcher_sub_group_access',
],
[
'id' => 267,
'title' => 'profile_password_edit',
],
];
Permission::insert($permissions);
}
}