shell bypass 403
<table class="table table-striped table-bordered zero-configuration">
<thead>
<tr>
<th>#</th>
<th>{{ trans('labels.role_name') }}</th>
<th>{{ trans('labels.system_modules') }}</th>
<th>{{ trans('labels.status') }}</th>
<th>{{ trans('labels.created_date') }}</th>
<th>{{ trans('labels.updated_date') }}</th>
<th>{{ trans('labels.action') }}</th>
</tr>
</thead>
<tbody>
@php $i=1; @endphp
@foreach ($getroles as $role)
<tr id="dataid{{ $role->id }}">
<td>@php echo $i++; @endphp</td>
<td>{{ $role->role }}</td>
<td>
@php
$modules = explode('|', $role->module);
@endphp
@foreach ($modules as $module)
<span class="badge rounded-pill bg-light text-dark">{{ $module }}</span>
@endforeach
</td>
<td>
@if ($role->is_available == 1)
<a tooltip="{{ trans('labels.active') }}"
class="btn btn-sm btn-success square {{ Auth::user()->type == 4 ? (helper::check_access('role_roles', Auth::user()->role_id, 'edit') == 1 ? '' : 'd-none') : '' }}"
@if (env('Environment') == 'sendbox') onclick="myFunction()" @else onclick="StatusUpdate('{{ $role->id }}','2','{{ URL::to('admin/roles/change_status') }}')" @endif><i
class="fa-sharp fa-solid fa-check"></i></a>
@else
<a tooltip="{{ trans('labels.inactive') }}"
class="btn btn-sm btn-danger square {{ Auth::user()->type == 4 ? (helper::check_access('role_roles', Auth::user()->role_id, 'edit') == 1 ? '' : 'd-none') : '' }}"
@if (env('Environment') == 'sendbox') onclick="myFunction()" @else onclick="StatusUpdate('{{ $role->id }}','1','{{ URL::to('admin/roles/change_status') }}')" @endif><i
class="fa-sharp fa-solid fa-xmark"></i></a>
@endif
</td>
<td>{{ helper::date_format($role->created_at) }}<br>
{{ helper::date_time_format($role->created_at) }}
</td>
<td>{{ helper::date_format($role->updated_at) }}<br>
{{ helper::date_time_format($role->updated_at) }}
</td>
<td>
<div class="d-flex flex-wrap gap-1">
<a tooltip="{{ trans('labels.edit') }}"
class="btn btn-sm btn-info square {{ Auth::user()->type == 4 ? (helper::check_access('role_roles', Auth::user()->role_id, 'edit') == 1 ? '' : 'd-none') : '' }}"
href="{{ URL::to('admin/roles/edit-' . $role->id) }}"><i
class="fa-solid fa-pen-to-square"></i></a>
<a href="javascript:void(0)" tooltip="{{ trans('labels.delete') }}"
@if (env('Environment') == 'sendbox') onclick="myFunction()" @else onclick="Delete('{{ $role->id }}','{{ URL::to('admin/roles/delete') }}')" @endif
class="btn btn-sm btn-danger square {{ Auth::user()->type == 4 ? (helper::check_access('role_roles', Auth::user()->role_id, 'delete') == 1 ? '' : 'd-none') : '' }}">
<i class="fa-regular fa-trash"></i></a>
</div>
</td>
</tr>
@endforeach
</tbody>
</table>