Browse Source

feat: adiciona permissoes geral para holidays

ebagabee 1 tháng trước cách đây
mục cha
commit
fb16d87bac
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      database/seeders/UserTypePermissionSeeder.php

+ 2 - 2
database/seeders/UserTypePermissionSeeder.php

@@ -103,8 +103,8 @@ public function run(): void
                         // Usuários da unidade
                         ['scope' => 'unit-user',                        'bits' => Permission::ALL_PERMS],
 
-                        // Feriados (visualiza)
-                        ['scope' => 'holiday',                          'bits' => Permission::VIEW],
+                        // Feriados
+                        ['scope' => 'holiday',                          'bits' => Permission::ALL_PERMS],
 
                         // Configurações básicas (apenas leitura de endereço)
                         ['scope' => 'config.city',                      'bits' => Permission::VIEW],