Menus other than "support" not available when logged out.
This commit is contained in:
parent
bfa4f27cf7
commit
fa7516b03a
@ -1,12 +1,12 @@
|
||||
opencase_defaults.report_on_clients:
|
||||
title: 'Clients'
|
||||
description: 'Report on clients'
|
||||
parent: opencase_defaults.reporting_menu
|
||||
parent: opencase_reporting.reporting_menu
|
||||
url: internal:/opencase/reporting/clients
|
||||
weight: 0
|
||||
opencase_defaults.report_on_volunteers:
|
||||
title: 'Volunteers'
|
||||
description: 'Report on volunteers'
|
||||
parent: opencase_defaults.reporting_menu
|
||||
parent: opencase_reporting.reporting_menu
|
||||
url: internal:/opencase/reporting/volunteers
|
||||
weight: 1
|
||||
|
@ -1,6 +1,6 @@
|
||||
opencase_defaults.reporting_menu:
|
||||
opencase_reporting.reporting_menu:
|
||||
title: 'Reporting'
|
||||
description: 'Report on clients'
|
||||
menu_name: opencase
|
||||
url: internal:#
|
||||
route_name: opencase_reporting.reporting_menu
|
||||
weight: 10
|
||||
|
@ -0,0 +1,4 @@
|
||||
opencase_reporting.reporting_menu:
|
||||
path: '/'
|
||||
requirements:
|
||||
_permission: 'use opencase'
|
@ -2,7 +2,7 @@ opencase.cases:
|
||||
title: 'Cases'
|
||||
description: 'View cases'
|
||||
menu_name: opencase
|
||||
url: internal:#
|
||||
route_name: opencase.opencase_cases_menu
|
||||
weight: 0
|
||||
opencase.opencase_all_cases:
|
||||
title: 'All Cases'
|
||||
@ -16,7 +16,7 @@ opencase.opencase_add_people_menu:
|
||||
title: 'Add people'
|
||||
description: 'Add new people'
|
||||
menu_name: opencase
|
||||
url: internal:#
|
||||
route_name: opencase.opencase_people_menu
|
||||
weight: 1
|
||||
opencase.add_people_links:
|
||||
class: Drupal\opencase\Plugin\Menu\AddActorsMenuLink
|
||||
|
@ -2,3 +2,11 @@ opencase.opencase_admin_menu:
|
||||
path: '/'
|
||||
requirements:
|
||||
_permission: 'administer opencase entity bundles'
|
||||
opencase.opencase_cases_menu:
|
||||
path: '/'
|
||||
requirements:
|
||||
_permission: 'use opencase'
|
||||
opencase.opencase_people_menu:
|
||||
path: '/'
|
||||
requirements:
|
||||
_permission: 'use opencase'
|
||||
|
Reference in New Issue
Block a user