Merge pull request #7056 from Wachizungu/add-can-access-check-for-menu-entry-correlation-exclusions

chg: [UI] Add can access check for correlation exclusions menu entry
pull/7091/head
Jakub Onderka 2021-02-24 14:37:42 +01:00 committed by GitHub
commit 044ddb33e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -170,10 +170,11 @@
'text' => __('List Noticelists'),
'url' => $baseurl . '/noticelists/index'
),
[
array(
'text' => __('List Correlation Exclusions'),
'url' => $baseurl . '/correlation_exclusions/index'
]
'url' => $baseurl . '/correlation_exclusions/index',
'requirement' => $canAccess('correlation_exclusions', 'index'),
)
)
),
array(