mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-19 07:01:35 +00:00
a43b8ee2d2
- Refactored user role checks in various dashboard pages to utilize the new permissions structure. - Replaced direct role comparisons with permission checks for enhanced security and maintainability. - Updated the `validateRequest` function to streamline user role handling and ensure proper access control. - Improved consistency in permission checks across components, ensuring only authorized users can access specific features.