|
@@ -71,6 +71,7 @@ class UserTypePermissionSeeder extends Seeder
|
|
|
['scope' => 'config.provider_services_types', 'bits' => 271],
|
|
['scope' => 'config.provider_services_types', 'bits' => 271],
|
|
|
['scope' => 'config.service_type', 'bits' => 1],
|
|
['scope' => 'config.service_type', 'bits' => 1],
|
|
|
['scope' => 'config.schedule', 'bits' => 271],
|
|
['scope' => 'config.schedule', 'bits' => 271],
|
|
|
|
|
+ ['scope' => 'config.custom_schedule', 'bits' => 271],
|
|
|
];
|
|
];
|
|
|
$this->seedUserTypePermissions($providerPermissions, UserTypeEnum::PROVIDER->value);
|
|
$this->seedUserTypePermissions($providerPermissions, UserTypeEnum::PROVIDER->value);
|
|
|
break;
|
|
break;
|
|
@@ -88,6 +89,9 @@ class UserTypePermissionSeeder extends Seeder
|
|
|
['scope' => 'config.provider_blocked_day', 'bits' => 271],
|
|
['scope' => 'config.provider_blocked_day', 'bits' => 271],
|
|
|
['scope' => 'config.review', 'bits' => 271],
|
|
['scope' => 'config.review', 'bits' => 271],
|
|
|
['scope' => 'config.schedule', 'bits' => 271],
|
|
['scope' => 'config.schedule', 'bits' => 271],
|
|
|
|
|
+ ['scope' => 'config.custom_schedule', 'bits' => 271],
|
|
|
|
|
+ ['scope' => 'config.speciality', 'bits' => 271],
|
|
|
|
|
+ ['scope' => 'config.service_type', 'bits' => 271],
|
|
|
];
|
|
];
|
|
|
$this->seedUserTypePermissions($clientPermissions, UserTypeEnum::CLIENT->value);
|
|
$this->seedUserTypePermissions($clientPermissions, UserTypeEnum::CLIENT->value);
|
|
|
break;
|
|
break;
|