This commit is contained in:
salam committed 2025-11-19 08:38:58 +01:00
1 parent 2858abf946
commit fe2e911e3d
1 file changed
+1 -1
@@ -61,7 +61,7 @@ class UserForm
'accepted' => 'Das Akzeptieren der Allgemeinen Geschäftsbedingungen ist erforderlich.',
]),
Select::make('roles')
->label('Rolle')
->label('Rollen')
->prefixIcon('phosphor-gear')
->aboveContent('Nur für SuperAdmin sichtbare')
->visible(fn () => auth()->user()->hasRole('super_admin'))