coolify/tests/Feature/Authorization
Andras Bacsai b878dc8102 refactor(auth): enforce team member authorization across app
Restrict sensitive operations to admins/owners and hide sensitive data
from team members:
- Add authorization checks to Livewire components and API endpoints
- Restrict team members from accessing sensitive permissions and data
- Hide environment variable values from non-admin team members
- Update policies to enforce team-level admin status requirement
- Add useSensitivePermissions policy for read:sensitive tokens
- Improve disabled button UX with auth-specific tooltips
- Add authorization checks in middleware for API tokens

Closes authorization gaps in project management, server management,
and settings components.
2026-02-27 11:41:01 +01:00
..
ApiAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
ApiTokenPermissionTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
ApplicationConfigAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
CloudProviderAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
DashboardAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
DatabaseConfigAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
DestinationOwnershipTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
EnvironmentVariableValueHidingTest.php refactor(auth): enforce team member authorization across app 2026-02-27 11:41:01 +01:00
LegacyMemberTokenTest.php refactor(auth): enforce team member authorization across app 2026-02-27 11:41:01 +01:00
NavbarDeleteTeamAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
NotificationAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
ProjectEnvironmentAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
ResourceHeadingAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
ResourceOperationsCrossTenantTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
SecurityPageAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
ServerAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
ServiceConfigAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
SharedResourceAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00
TeamAuthorizationTest.php chore(tests): reorganize feature suites and expand team auth coverage 2026-02-26 07:13:19 +01:00