coolify/app/Livewire/Team
Andras Bacsai fcc58ca08a fix(auth): enforce dashboard authorization and improve team deletion
Add authorization gates to Project and Server creation buttons in the dashboard to prevent non-admin users from accessing resource creation. Improve team deletion to clear cache before deletion and automatically switch to the user's next available team.

- Hide create buttons from non-admin users in dashboard
- Clear cache before team deletion to prevent stale session resolution
- Switch user session to next available team when current team is deleted
- Handle refreshSession when user has no remaining teams
- Add tests for dashboard authorization enforcement and team deletion flow
2026-02-25 14:47:35 +01:00
..
Member feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
Storage Fix styling 2024-06-10 20:43:34 +00:00
AdminView.php fix: skip password confirmation for OAuth users 2025-12-12 14:12:02 +01:00
Create.php refactor(redirect): replace redirect calls with redirectRoute helper for consistency 2025-12-26 13:29:59 +01:00
Index.php fix(auth): enforce dashboard authorization and improve team deletion 2026-02-25 14:47:35 +01:00
Invitations.php feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
InviteLink.php fix(user): complete User model fixes for non-web contexts 2025-12-28 13:55:55 +01:00
Member.php fix(team): improve team retrieval and session handling for users 2025-12-28 14:50:59 +01:00