Skip to content

Commit 551305f

Browse files
Update access permissions for actions in PulsaKegiatan resource
1 parent 2a278bf commit 551305f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Nova/PulsaKegiatan.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public function actions(NovaRequest $request)
227227

228228
return $this->resource instanceof Model && $this->resource->status !== 'open';
229229
});
230-
if (Policy::make()->allowedFor('ppk.pbj')->get()) {
230+
if (Policy::make()->allowedFor('ppk,pbj')->get()) {
231231
$actions[] =
232232
ExportDaftarPulsa::make()
233233
->showInline()

0 commit comments

Comments
 (0)