FEATURE: add another permissions
This commit is contained in:
@@ -3,10 +3,13 @@
|
||||
@section('pageHeading', trans('admin/userManagement.profile'))
|
||||
@section('pageDescription', @trans('admin/userManagement.detail', ['name' => $user->name, 'email' => $user->email]))
|
||||
@section('headerButtons')
|
||||
|
||||
@can('manage', \App\Models\User::class)
|
||||
<a href="{{route('users.overview')}}" class="btn btn-secondary btn-sm rounded"
|
||||
title="@lang('admin/userManagement.overview')">
|
||||
<i class="fa fa-list"></i>
|
||||
</a>
|
||||
@endcan
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
|
||||
Reference in New Issue
Block a user