paths and permissions for report entities.
This commit is contained in:
parent
e02721217b
commit
354bb0adba
@ -1,7 +1,7 @@
|
||||
opencase_reporting.reporting:
|
||||
title: 'Reporting'
|
||||
menu_name: main
|
||||
url: internal:/opencase/reporting
|
||||
url: internal:/opencase/reporting/opencase_reports
|
||||
weight: 1
|
||||
|
||||
# OpenCase Report menu items definition
|
||||
|
@ -23,7 +23,7 @@ use Drupal\Core\Config\Entity\ConfigEntityBase;
|
||||
* },
|
||||
* },
|
||||
* config_prefix = "opencase_report",
|
||||
* admin_permission = "administer site configuration",
|
||||
* admin_permission = "use opencase",
|
||||
* entity_keys = {
|
||||
* "id" = "id",
|
||||
* "label" = "label",
|
||||
@ -34,7 +34,7 @@ use Drupal\Core\Config\Entity\ConfigEntityBase;
|
||||
* "add-form" = "/opencase/reporting/opencase_report/add",
|
||||
* "edit-form" = "/opencase/reporting/opencase_report/{opencase_report}/edit",
|
||||
* "delete-form" = "/opencase/reporting/opencase_report/{opencase_report}/delete",
|
||||
* "collection" = "/opencase/reporting/opencase_report"
|
||||
* "collection" = "/opencase/reporting/opencase_reports"
|
||||
* }
|
||||
* )
|
||||
*/
|
||||
|
@ -1,5 +1,5 @@
|
||||
use opencase:
|
||||
title: 'Use OpenCase'
|
||||
description: 'Use the OpenCase case management system'
|
||||
restrict access: true
|
||||
title: 'Use OpenCase'
|
||||
description: 'Use the OpenCase case management system'
|
||||
restrict access: true
|
||||
|
||||
|
Reference in New Issue
Block a user