Edit
{!! Form::open(['method' => 'DELETE','route' => ['users.destroy', $user->id],'style'=>'display:inline']) !!}
{!! Form::button('Delete', ['type' => 'submit','class'=>'btn btn-outline-danger ml-1']) !!}
{!! Form::close() !!}
Permissions
Permission according to roles
Module | Read | Write | Create | Delete |
---|---|---|---|---|
Admin |
@if($readPermission == 1)
@else
@endif
|
@if($writePermission == 1)
@else
@endif
|
@if($createPermission == 1)
@else
@endif
|
@if($deletePermission == 1)
@else
@endif
|
Staff |
@if($readPermission == 1)
@else
@endif
|
@if($writePermission == 1)
@else
@endif
|
@if($createPermission == 1)
@else
@endif
|
@if($deletePermission == 1)
@else
@endif
|
Author |
@if($readPermission == 1)
@else
@endif
|
@if($writePermission == 1)
@else
@endif
|
@if($createPermission == 1)
@else
@endif
|
@if($deletePermission == 1)
@else
@endif
|
Contributor |
@if($readPermission == 1)
@else
@endif
|
@if($writePermission == 1)
@else
@endif
|
@if($createPermission == 1)
@else
@endif
|
@if($deletePermission == 1)
@else
@endif
|
User |
@if($readPermission == 1)
@else
@endif
|
@if($writePermission == 1)
@else
@endif
|
@if($createPermission == 1)
@else
@endif
|
@if($deletePermission == 1)
@else
@endif
|