MIF_E31230069/spk_kontrakan/app/Http/Controllers
micko samawa 6bad1aa7b2 feat: Implement admin-scoped data visibility and comprehensive authorization
- Add admin_id FK to kontrakans table
- Add authorization checks to KontrakanController (edit, update, destroy, bulkDestroy)
- Add authorization checks to BookingController (store, bulkDestroy)
- Fix EnsureRole middleware to use auth:admin guard
- Fix booking index stats to filter by admin ownership
- Add model relationships: Admin.kontrakans(), Admin.isSuperAdmin(), Admin.isAdmin()
- Ensure admin biasa sees only their data, super_admin sees all data
- Secure bulk delete operations with per-item admin validation
2026-05-25 14:00:20 +07:00
..
Api feat: laundry UI — chips, presets, antar/jemput; remove rating; placeholder fixes; keep criteria visible 2026-05-19 16:52:14 +07:00
ActivityLogController.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
AdminAuthController.php Fix: Reset super admin, fix User model role attribute, remove rate limiting for development 2026-05-19 08:01:07 +07:00
AdminProfileController.php Update mobile config, add admin reminder notifications, and apply migrations 2026-05-10 23:29:18 +07:00
BackupController.php Update mobile config, add admin reminder notifications, and apply migrations 2026-05-10 23:29:18 +07:00
BookingController.php feat: Implement admin-scoped data visibility and comprehensive authorization 2026-05-25 14:00:20 +07:00
Controller.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
DashboardController.php Fix: Reset super admin, fix User model role attribute, remove rate limiting for development 2026-05-19 08:01:07 +07:00
ExportController.php Fix favorites system: improve error handling, type safety, and UI feedback 2026-03-07 00:45:30 +07:00
FavoriteController.php fix: Laravel Backend Security & Stability Improvements 2026-02-26 00:19:15 +07:00
GaleriController.php Fix favorites system: improve error handling, type safety, and UI feedback 2026-03-07 00:45:30 +07:00
KontrakanController.php feat: Implement admin-scoped data visibility and comprehensive authorization 2026-05-25 14:00:20 +07:00
KriteriaController.php Update mobile config, add admin reminder notifications, and apply migrations 2026-05-10 23:29:18 +07:00
LaundryController.php Perbaiki pengisian alamat laundry dari peta 2026-05-17 14:16:55 +07:00
ReviewController.php Fix favorites system: improve error handling, type safety, and UI feedback 2026-03-07 00:45:30 +07:00
SAWController.php feat: laundry UI — chips, presets, antar/jemput; remove rating; placeholder fixes; keep criteria visible 2026-05-19 16:52:14 +07:00
UserManagementController.php Fix: Reset super admin, fix User model role attribute, remove rate limiting for development 2026-05-19 08:01:07 +07:00