Merged in bugfix/PMCORE-3621 (pull request #8338)
pmcore-3621 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
@@ -385,14 +385,19 @@ if ($licenseStatusInfo["message"] != "") {
|
||||
/*----------------------------------********---------------------------------*/
|
||||
if ($RBAC->userCanAccess('PM_SETUP') == 1) {
|
||||
/*----------------------------------********---------------------------------*/
|
||||
$G_TMP_MENU->AddIdRawOption(
|
||||
'PMENTERPRISE',
|
||||
'../enterprise/addonsStore',
|
||||
G::LoadTranslation('ID_MENU_NAME') . $licStatusMsg,
|
||||
'',
|
||||
'',
|
||||
'plugins'
|
||||
);
|
||||
if (
|
||||
$RBAC->userCanAccess('PM_SETUP_PLUGINS') === 1 &&
|
||||
$RBAC->userCanAccess('PM_SETUP_ADVANCE') === 1
|
||||
) {
|
||||
$G_TMP_MENU->AddIdRawOption(
|
||||
'PMENTERPRISE',
|
||||
'../enterprise/addonsStore',
|
||||
G::LoadTranslation('ID_MENU_NAME') . $licStatusMsg,
|
||||
'',
|
||||
'',
|
||||
'plugins'
|
||||
);
|
||||
}
|
||||
if ($RBAC->userCanAccess('PM_SETUP_CUSTOM_CASES_LIST') == 1) {
|
||||
$G_TMP_MENU->AddIdRawOption(
|
||||
'CASES_LIST_SETUP',
|
||||
|
||||
Reference in New Issue
Block a user