HifiPlanet-Website/hifi/api/src/Controllers/PermissionCatalogController.php
Maaxxs f3ab7d0816 Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend)
React/Vite Frontend (hifi-src) + PHP/MariaDB Backend (hifi/api) fuer
den Car-Hifi Umbau-Shop HifiPlanet in Amorbach, inkl. Admin-Panel,
2FA, Wartungsmodus, Cookie-Consent und rechtlichen Pflichtseiten.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-05 13:37:06 +02:00

18 lines
361 B
PHP

<?php
namespace App\Controllers;
use App\Support\Http;
use App\Support\Permissions;
class PermissionCatalogController
{
public static function index(): void
{
$catalog = [];
foreach (Permissions::CATALOG as $key => $label) {
$catalog[] = ['key' => $key, 'label' => $label];
}
Http::send($catalog);
}
}