feature: set role previledge access

This commit is contained in:
2025-03-07 14:39:46 +07:00
parent dceb46ab86
commit fbfa2a37bb
39 changed files with 739 additions and 223 deletions

View File

@@ -13,9 +13,14 @@
<div class="card w-100">
<div class="card-body">
<div class="d-flex flex-wrap justify-content-end">
<a href="{{ route('pbg-task.create')}}" class="btn btn-success btn-sm d-block d-sm-inline w-auto">Create</a>
@if ($creator)
<a href="{{ route('pbg-task.create')}}" class="btn btn-success btn-sm d-block d-sm-inline w-auto">Create</a>
@endif
</div>
<div id="table-pbg-tasks"
data-updater="{{ $updater }}"
data-destroyer="{{ $destroyer }}">
</div>
<div id="table-pbg-tasks"></div>
</div>
</div>
</div>