Merge pull request #525 from jitendra-webkul/jitendra

Acl issue fixed for Configuration pages
This commit is contained in:
JItendra Singh 2019-02-01 17:06:05 +05:30 committed by GitHub
commit 50df14c2de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 5 deletions

View File

@ -74,7 +74,7 @@ return [
], [
'key' => 'configuration',
'name' => 'admin::app.acl.configure',
'route' => 'admin.account.edit',
'route' => 'admin.configuration.index',
'sort' => 5
], [
'key' => 'settings',

View File

@ -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;">

View File

@ -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;">

View File

@ -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;">

View File

@ -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;">

View File

@ -18,6 +18,7 @@ class Bouncer
if (! auth()->guard('admin')->check() || ! auth()->guard('admin')->user()->hasPermission($permission))
return false;
}
return true;
}