소스 검색

feat: adiciona permissoes geral para holidays

ebagabee 1 개월 전
부모
커밋
fb16d87bac
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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],