HifiPlanet-Website/hifi/api
Maaxxs 76bba33746 Protect the first-created admin account from being demoted or deleted
Whoever has the lowest admin_users.id is treated as the root account:
its Super-Admin status can no longer be revoked and the account itself
can't be deleted, regardless of how many other Super-Admins exist. UI
disables the checkbox/delete button for that user with an explanation.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-29 22:25:31 +02:00
..
config Simplify to always run at domain root instead of dual /hifi vs / support 2026-07-05 15:04:39 +02:00
database Track when each admin user was last active 2026-08-29 22:14:06 +02:00
public Add live Google Reviews, refreshed daily instead of hand-typed testimonials 2026-07-21 01:40:08 +02:00
scripts Add live Google Reviews, refreshed daily instead of hand-typed testimonials 2026-07-21 01:40:08 +02:00
src Protect the first-created admin account from being demoted or deleted 2026-08-29 22:25:31 +02:00
uploads Populate the gallery with the full photo collection from the old hifi-planet.de site 2026-07-07 19:50:49 +02:00
vendor Consolidate the site onto a single branch: main now carries the build output 2026-07-20 06:59:33 +02:00
composer.json Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
composer.lock Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00