Changeset 9012e81 for database


Ignore:
Timestamp:
10/24/21 21:06:50 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
69dd35e
Parents:
75a169d
Message:

bug fixes

Location:
database/seeders
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • database/seeders/PermissionsTableSeeder.php

    r75a169d r9012e81  
    3131            ["id" => "13", "name" => "manage_file_types"],              // Access file types
    3232            ["id" => "14", "name" => "edit_user_data"],                 // Access file types
    33             ["id" => "15", "name" => "export_data"],                // Access file types
    34             ["id" => "16", "name" => "validation_data"]                 // Access file types
     33            ["id" => "15", "name" => "export_data"],                // Export data
     34            ["id" => "16", "name" => "download_data"],              // Download data
     35            ["id" => "17", "name" => "validation_data"]                 // File validations
    3536        ]);
    3637    }
  • database/seeders/RolesPermissionsTableSeeder.php

    r75a169d r9012e81  
    3131            ["role_id" => 1, "permission_id" => 14],
    3232            ["role_id" => 1, "permission_id" => 15],
     33            ["role_id" => 1, "permission_id" => 16],
     34            ["role_id" => 1, "permission_id" => 17],
    3335
    3436                // Referent
     
    4648            ["role_id" => 2, "permission_id" => 14],
    4749            ["role_id" => 2, "permission_id" => 15],
     50            ["role_id" => 2, "permission_id" => 17],
    4851
    4952            // Viewer
Note: See TracChangeset for help on using the changeset viewer.