refactor: update user role management and enhance UI components

- Updated the user role management logic to improve type safety and error handling, including better handling of role permissions and user associations.
- Refactored the UI components for user management, enhancing the layout and styling for better user experience.
- Removed outdated code related to menu permissions and streamlined the database schema for roles and profiles.
- Improved the overall structure and readability of the codebase, ensuring consistency across components.
This commit is contained in:
2025-11-03 15:12:10 -03:00
parent 5cb63f9437
commit c1d9958c9f
10 changed files with 749 additions and 494 deletions

View File

@@ -126,8 +126,8 @@ npx convex dev
### **Banco vazio:**
```powershell
cd packages\backend
npx convex run seed:clearDatabase
npx convex run seed:seedDatabase
npx convex run seed:limparBanco
npx convex run seed:popularBanco
```
**Mais soluções:** Veja `TESTAR_SISTEMA_COMPLETO.md` seção "Problemas Comuns"