|
@@ -106,7 +106,8 @@ public function run(): void
|
|
|
['scope' => 'config.city', 'bits' => Permission::VIEW],
|
|
['scope' => 'config.city', 'bits' => Permission::VIEW],
|
|
|
['scope' => 'config.country', 'bits' => Permission::VIEW],
|
|
['scope' => 'config.country', 'bits' => Permission::VIEW],
|
|
|
['scope' => 'config.state', 'bits' => Permission::VIEW],
|
|
['scope' => 'config.state', 'bits' => Permission::VIEW],
|
|
|
- ['scope' => 'config.user', 'bits' => Permission::VIEW | Permission::EDIT],
|
|
|
|
|
|
|
+ // Gerencia os usuários da própria unidade (criar/editar/excluir).
|
|
|
|
|
+ ['scope' => 'config.user', 'bits' => Permission::VIEW | Permission::ADD | Permission::EDIT | Permission::DELETE],
|
|
|
];
|
|
];
|
|
|
break;
|
|
break;
|
|
|
|
|
|