Skip to content

Commit

Permalink
fix invalid permission
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Dec 10, 2024
1 parent b58ab67 commit 98bc122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Admin/PatchingController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PatchingController extends Controller
{
public function index(Request $request)
{
abort_if(Gate::denies('patching_show'), Response::HTTP_FORBIDDEN, '403 Forbidden');
abort_if(Gate::denies('patching_access'), Response::HTTP_FORBIDDEN, '403 Forbidden');

// Get Attributes
$attributes_list = $this->getAttributes();
Expand Down

0 comments on commit 98bc122

Please sign in to comment.