Merge pull request #525 from jitendra-webkul/jitendra
Acl issue fixed for Configuration pages
This commit is contained in:
commit
50df14c2de
|
|
@ -74,7 +74,7 @@ return [
|
|||
], [
|
||||
'key' => 'configuration',
|
||||
'name' => 'admin::app.acl.configure',
|
||||
'route' => 'admin.account.edit',
|
||||
'route' => 'admin.configuration.index',
|
||||
'sort' => 5
|
||||
], [
|
||||
'key' => 'settings',
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
@stop
|
||||
|
||||
@section('content-wrapper')
|
||||
<div class="error-container" style="width: 100%; display: flex; justify-content: center;">
|
||||
<div class="error-container" style="padding: 40px; width: 100%; display: flex; justify-content: center;">
|
||||
|
||||
<div class="wrapper" style="display: flex; height: 60vh; width: 100%;
|
||||
justify-content: start; align-items: center;">
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
@stop
|
||||
|
||||
@section('content-wrapper')
|
||||
<div class="error-container" style="width: 100%; display: flex; justify-content: center;">
|
||||
<div class="error-container" style="padding: 40px; width: 100%; display: flex; justify-content: center;">
|
||||
|
||||
<div class="wrapper" style="display: flex; height: 60vh; width: 100%;
|
||||
justify-content: start; align-items: center;">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
@section('content-wrapper')
|
||||
|
||||
<div class="error-container" style="width: 100%; display: flex; justify-content: center;">
|
||||
<div class="error-container" style="padding: 40px; width: 100%; display: flex; justify-content: center;">
|
||||
|
||||
<div class="wrapper" style="display: flex; height: 60vh; width: 100%;
|
||||
justify-content: start; align-items: center;">
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<div class="error-container" style="width: 100%; display: flex; justify-content: center;">
|
||||
<div class="error-container" style="padding: 40px; width: 100%; display: flex; justify-content: center;">
|
||||
|
||||
<div class="wrapper" style="display: flex; height: 60vh; width: 100%;
|
||||
justify-content: start; align-items: center;">
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ class Bouncer
|
|||
if (! auth()->guard('admin')->check() || ! auth()->guard('admin')->user()->hasPermission($permission))
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue