|
|
@@ -25,11 +25,17 @@ public function run(): void
|
|
|
break;
|
|
|
case UserTypeEnum::USER:
|
|
|
$dataToSync = [
|
|
|
- ['scope' => 'dashboard', 'bits' => Permission::VIEW],
|
|
|
- ['scope' => 'config.user', 'bits' => Permission::VIEW | Permission::EDIT],
|
|
|
- ['scope' => 'config.city', 'bits' => Permission::VIEW],
|
|
|
- ['scope' => 'config.country', 'bits' => Permission::VIEW],
|
|
|
- ['scope' => 'config.state', 'bits' => Permission::VIEW],
|
|
|
+ ['scope' => 'dashboard', 'bits' => Permission::VIEW],
|
|
|
+ ['scope' => 'config.user', 'bits' => Permission::VIEW | Permission::EDIT],
|
|
|
+ ['scope' => 'config.city', 'bits' => Permission::VIEW],
|
|
|
+ ['scope' => 'config.country', 'bits' => Permission::VIEW],
|
|
|
+ ['scope' => 'config.state', 'bits' => Permission::VIEW],
|
|
|
+ ['scope' => 'tbr', 'bits' => Permission::VIEW],
|
|
|
+ ['scope' => 'royalties-base-bracket', 'bits' => Permission::VIEW],
|
|
|
+ ['scope' => 'fnm-base-bracket', 'bits' => Permission::VIEW],
|
|
|
+ ['scope' => 'maintenance-base-bracket','bits' => Permission::VIEW],
|
|
|
+ ['scope' => 'franchisee-tbr', 'bits' => Permission::VIEW],
|
|
|
+ ['scope' => 'tbr-calculation', 'bits' => Permission::VIEW],
|
|
|
];
|
|
|
break;
|
|
|
case UserTypeEnum::GUEST:
|