diff --git a/frontend/views/GestaoEquipeView.tsx b/frontend/views/GestaoEquipeView.tsx index 6218276..db932ec 100644 --- a/frontend/views/GestaoEquipeView.tsx +++ b/frontend/views/GestaoEquipeView.tsx @@ -62,7 +62,9 @@ const PAGINAS_RBAC: Array<{ grupo: string; itens: Array<{ key: string; label: st { key: 'pacientes', label: 'PACIENTES' }, { key: 'ortodontia', label: 'ORTODONTIA' }, { key: 'tratamentos', label: 'TRATAMENTOS' }, + { key: 'proteses', label: 'PRÓTESES' }, { key: 'orcamentos', label: 'ORÇAMENTOS' }, + { key: 'contratos', label: 'CONTRATOS' }, { key: 'rx-radiografias', label: 'RX / RADIOGRAFIAS' }, ], }, @@ -94,8 +96,8 @@ const TODAS_PAGINAS = PAGINAS_RBAC.flatMap(g => g.itens.map(i => i.key)); // Modelos de cargo prontos (acelera a configuração). const TEMPLATES_CARGO: Array<{ nome: string; nivel: number; permissoes: string[] }> = [ - { nome: 'RECEPÇÃO', nivel: 10, permissoes: ['dashboard', 'agenda', 'pacientes', 'leads', 'orcamentos'] }, - { nome: 'AUXILIAR / ASB', nivel: 20, permissoes: ['dashboard', 'agenda', 'pacientes', 'ortodontia', 'tratamentos'] }, + { nome: 'RECEPÇÃO', nivel: 10, permissoes: ['dashboard', 'agenda', 'pacientes', 'leads', 'orcamentos', 'contratos', 'lancar-gto', 'proteses'] }, + { nome: 'AUXILIAR / ASB', nivel: 20, permissoes: ['dashboard', 'agenda', 'pacientes', 'ortodontia', 'tratamentos', 'proteses'] }, { nome: 'FINANCEIRO', nivel: 30, permissoes: ['dashboard', 'pacientes', 'financeiro', 'relatorios', 'lancar-gto'] }, { nome: 'GERENTE', nivel: 50, permissoes: [...TODAS_PAGINAS] }, ];