coolify/app/Livewire/Project/Database
Andras Bacsai e20327b9c4 fix: add authorization checks to database Livewire components
Added authorization checks to 11 database-related Livewire components
that were loading sensitive database configuration without verifying
user permissions.

Changes:
- Added authorize('view', $database) to all 8 database type General.php mount() methods
- Added authorization to Configuration.php before loading database
- Added authorization to BackupEdit.php before loading backup config
- Added authorization to Import.php before loading database resource

This prevents unauthorized users from accessing database credentials,
connection strings, and configuration details.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-14 17:33:42 +02:00
..
Backup Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
Clickhouse fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Dragonfly fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Keydb fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Mariadb fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Mongodb fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Mysql fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Postgresql fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
Redis fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
BackupEdit.php fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
BackupExecutions.php feat(backup): enhance backup job with S3 upload handling and notifications 2025-10-07 15:02:23 +02:00
BackupNow.php feat(auth): implement authorization checks for database management 2025-08-23 18:50:35 +02:00
Configuration.php fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
CreateScheduledBackup.php feat(auth): implement authorization checks for database management 2025-08-23 18:50:35 +02:00
Heading.php feat(auth): implement authorization checks for database management 2025-08-23 18:50:35 +02:00
Import.php fix: add authorization checks to database Livewire components 2025-10-14 17:33:42 +02:00
InitScript.php Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
ScheduledBackups.php feat(auth): implement authorization checks for database management 2025-08-23 18:50:35 +02:00