added specific permission 4 "add new things" menu
This commit is contained in:
parent
b849883fe3
commit
c790e6af61
@ -2,4 +2,8 @@ use opencase:
|
||||
title: 'Use OpenCase'
|
||||
description: 'Use the OpenCase case management system'
|
||||
restrict access: true
|
||||
view opencase add new things menu:
|
||||
title: 'View OpenCase "add new things" menu'
|
||||
description: 'View OpenCase "add new things" menu'
|
||||
restrict access: true
|
||||
|
||||
|
@ -5,12 +5,12 @@ opencase.opencase_admin_menu:
|
||||
opencase.opencase_cases_menu:
|
||||
path: '/'
|
||||
requirements:
|
||||
_permission: 'use opencase'
|
||||
_permission: 'view all published case entities'
|
||||
opencase.opencase_add_new_things_menu:
|
||||
path: '/'
|
||||
requirements:
|
||||
_permission: 'use opencase'
|
||||
_permission: 'view add new things menu'
|
||||
opencase.opencase_reporting_menu:
|
||||
path: '/'
|
||||
requirements:
|
||||
_permission: 'use opencase'
|
||||
_permission: 'view reporting menu'
|
||||
|
@ -5,4 +5,9 @@ services:
|
||||
|
||||
# Priority determines the order in which Breadcrumb services run.
|
||||
tags:
|
||||
- { name: breadcrumb_builder, priority: 100 }
|
||||
- { name: breadcrumb_builder, priority: 100 }
|
||||
|
||||
opencase.subscriber:
|
||||
class: Drupal\opencase\EventSubscriber\OpencaseSubscriber
|
||||
tags:
|
||||
- { name: event_subscriber }
|
Reference in New Issue
Block a user