wip disable pp

This commit is contained in:
salam committed 2026-11-01 14:59:33 +01:00
1 parent 85ac432878
commit 96598a09aa
2 files changed
+12 -4

No files matched your search

+9
View File
@@ -81,6 +81,15 @@ class PlayerProps extends Page implements HasForms
$this->form->fill();
}
public static function canAccess(): bool
{
// false blockiert den Zugriff für JEDEN (die Seite ist effektiv deaktiviert)
// return false;
// Alternativ an Bedingungen knüpfen:
return auth()->user()->hasRole('super_admin');
}
public function getWidgetData(): array
{
return [