فهرست منبع

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 1 ماه پیش
والد
کامیت
ab93f46a41
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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],