feat: Restrict email_username column visibility to users with the Developer role.

This commit is contained in:
Yoga Pangestu 2026-03-12 09:12:36 +07:00
parent abda97cbba
commit 10f69a6914

View File

@ -36,7 +36,8 @@ public static function configure(Table $table): Table
")
->html()
->searchable(['email', 'username'])
->sortable(),
->sortable()
->visible(fn () => auth()->user()->hasRole(RoleEnum::Developer)),
TextColumn::make('full_name')
->label('Nama Lengkap')