|
|
@@ -217,82 +217,10 @@ public function run(): void
|
|
|
],
|
|
|
// Financeiro
|
|
|
[
|
|
|
- "scope" => "financial",
|
|
|
+ "scope" => "franchisor_financial",
|
|
|
"description" => "Financeiro",
|
|
|
- "bits" => Permission::MENU | Permission::VIEW,
|
|
|
- "children" => [
|
|
|
- [
|
|
|
- "scope" => "financial-account-payable",
|
|
|
- "description" => "Contas a Pagar",
|
|
|
- "bits" => Permission::ALL_PERMS,
|
|
|
- "children" => [],
|
|
|
- ],
|
|
|
- [
|
|
|
- "scope" => "financial-account-receive",
|
|
|
- "description" => "Contas a Receber",
|
|
|
- "bits" => Permission::ALL_PERMS,
|
|
|
- "children" => [],
|
|
|
- ],
|
|
|
- [
|
|
|
- "scope" => "financial-invoice",
|
|
|
- "description" => "Notas Fiscais",
|
|
|
- "bits" => Permission::ALL_PERMS,
|
|
|
- "children" => [],
|
|
|
- ],
|
|
|
- [
|
|
|
- "scope" => "financial-plan-account",
|
|
|
- "description" => "Plano de Contas",
|
|
|
- "bits" => Permission::ALL_PERMS,
|
|
|
- "children" => [],
|
|
|
- ],
|
|
|
- ],
|
|
|
- ],
|
|
|
- // Tesouraria
|
|
|
- [
|
|
|
- "scope" => "treasury",
|
|
|
- "description" => "Tesouraria",
|
|
|
- "bits" => Permission::MENU | Permission::VIEW,
|
|
|
- "children" => [
|
|
|
- [
|
|
|
- "scope" => "treasury-account",
|
|
|
- "description" => "Contas de Tesouraria",
|
|
|
- "bits" => Permission::ALL_PERMS,
|
|
|
- "children" => [],
|
|
|
- ],
|
|
|
- [
|
|
|
- "scope" => "treasury-imports",
|
|
|
- "description" => "Importações de Tesouraria",
|
|
|
- "bits" => Permission::ALL_PERMS,
|
|
|
- "children" => [
|
|
|
- [
|
|
|
- "scope" => "treasury-import-line",
|
|
|
- "description" => "Linhas de Importação",
|
|
|
- "bits" => Permission::ALL_PERMS,
|
|
|
- "children" => [],
|
|
|
- ],
|
|
|
- ],
|
|
|
- ],
|
|
|
- [
|
|
|
- "scope" => "treasury-launch",
|
|
|
- "description" => "Lançamentos de Tesouraria",
|
|
|
- "bits" => Permission::ALL_PERMS,
|
|
|
- "children" => [],
|
|
|
- ],
|
|
|
- ],
|
|
|
- ],
|
|
|
- // Integrações
|
|
|
- [
|
|
|
- "scope" => "integrations",
|
|
|
- "description" => "Integrações",
|
|
|
- "bits" => Permission::ALL_PERMS,
|
|
|
- "children" => [
|
|
|
- [
|
|
|
- "scope" => "integration-variable",
|
|
|
- "description" => "Variáveis de Integração",
|
|
|
- "bits" => Permission::ALL_PERMS,
|
|
|
- "children" => [],
|
|
|
- ],
|
|
|
- ],
|
|
|
+ "bits" => Permission::MENU | Permission::VIEW | Permission::ADD | Permission::EDIT,
|
|
|
+ "children" => [],
|
|
|
],
|
|
|
// Feriados
|
|
|
[
|