attivato pagina dei permessi e rivisto menu

This commit is contained in:
2023-10-24 16:11:46 +02:00
parent a819ef01ff
commit e4b3ab0a3c
3 changed files with 36 additions and 19 deletions

View File

@@ -376,7 +376,9 @@ return [
],
],
],
['header' => 'GESTIONE DOCUMENTALE'],
['header' => 'GESTIONE DOCUMENTALE',
'can' => ['documenti','contratti','progetti'],
],
[
'text' => 'Documenti gen.',
'url' => '/admin/documenti',
@@ -396,7 +398,8 @@ return [
'icon' => 'fas fa-fw fa-diagram-project',
'can' => ['progetti'],
],
['header' => 'GESTIONE BENI'],
['header' => 'GESTIONE BENI',
'can' => ['automobili'],],
[
'text' => 'Automobili',
@@ -405,7 +408,9 @@ return [
'can' => ['automobili'],
],
['header' => 'GESTIONE PIM'],
['header' => 'GESTIONE PIM',
'can' => ['contatti','tasks','appuntamenti','meetingroom'],
],
[
'text' => 'Contatti',
'url' => '/admin/contatti',
@@ -442,21 +447,30 @@ return [
'icon' => 'fas fa-fw fa-file-video',
'can' => ['meetingroom']
],
['header' => 'CONSUMI'],
['header' => 'CONSUMI',
'can' => ['consumi'],
],
[
'text' => 'GAS',
'route' => 'gas',
'icon' => 'fas fa-fw fa-fire',
'can' => ['consumi'],
],
['header' => 'AMMINISTRAZIONE'],
['header' => 'AMMINISTRAZIONE',
'can' => ['amministrazione'],
],
[
'text' => 'Utenti',
'url' => '/admin/users/new',
'icon' => 'fas fa-fw fa-user',
'can' => ['amministrazione']
],
[
'text' => 'Permessi',
'route' => 'permessi',
'icon' => 'fas fa-fw fa-solid fa-unlock-keyhole',
'can' => ['amministrazione']
],
],