- Bilder mit automatischen WebP-Webgrößen (640/1280/2048 px), Sortierung per Drag & Drop, Mehrfach-Upload, Import-Befehl photos:import - Webseiten-Texte als feste, bearbeitbare Bausteine (config/content.php), Rich-Text bereinigt ausgegeben - Ausstattung und FAQ aus der bisherigen Webseite übernommen - Rolle Inhalte hat Zugriff auf alle Webseiten-Bereiche Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
186 B
PHP
14 lines
186 B
PHP
<?php
|
|
|
|
namespace App\Policies;
|
|
|
|
use App\Enums\UserRole;
|
|
|
|
class AmenityPolicy extends RolePolicy
|
|
{
|
|
protected function roles(): array
|
|
{
|
|
return [UserRole::Content];
|
|
}
|
|
}
|