Procházet zdrojové kódy

fix(chart-of-accounts): grant franchisor full perms on plan accounts

financial-plan-account was view-only while sibling financial scopes had all perms; needed add/edit to register accounts.
ebagabee před 1 měsícem
rodič
revize
ab93f46a41
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      database/seeders/UserTypePermissionSeeder.php

+ 1 - 1
database/seeders/UserTypePermissionSeeder.php

@@ -79,7 +79,7 @@ public function run(): void
                         ['scope' => 'financial-account-payable',        'bits' => Permission::ALL_PERMS],
                         ['scope' => 'financial-account-receive',        'bits' => Permission::ALL_PERMS],
                         ['scope' => 'financial-invoice',                'bits' => Permission::ALL_PERMS],
-                        ['scope' => 'financial-plan-account',           'bits' => Permission::VIEW],
+                        ['scope' => 'financial-plan-account',           'bits' => Permission::ALL_PERMS],
 
                         // Tesouraria
                         ['scope' => 'treasury',                         'bits' => Permission::VIEW | Permission::MENU],