Hide from UI if not admin
This commit is contained in:
parent
e045ef443a
commit
cb62e6a96d
1 changed files with 29 additions and 27 deletions
|
@ -110,6 +110,7 @@
|
|||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
@if(Auth::user()->root_admin)
|
||||
<div class="row">
|
||||
@foreach($permissions['admin'] as $block => $perms)
|
||||
<div class="col-lg-4 col-sm-6">
|
||||
|
@ -140,5 +141,6 @@
|
|||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
</form>
|
||||
@endsection
|
||||
|
|
Loading…
Reference in a new issue