++ fix permessi assegnazioni

This commit is contained in:
Francesco Picone
2026-07-25 23:05:20 +02:00
parent c505708ae2
commit 24a6d3d59f
9 changed files with 63 additions and 3 deletions

View File

@@ -70,7 +70,7 @@
Home
</a>
@can('territori.manage')
@can('territori.assign')
<a href="{{ route('territori.index') }}"
class="flex items-center gap-3 px-3 py-2.5 text-sm font-medium rounded-lg transition-all duration-150 {{ request()->routeIs('territori.*') ? 'sidebar-active' : 'text-gray-600 hover:bg-gray-50 hover:text-gray-900' }}">
<svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7"/></svg>