@@ -28,7 +28,7 @@ pimcore.plugin.customermanagementframework = Class.create(pimcore.plugin.admin,
2828 }
2929
3030 // customer view
31- if ( user . isAllowed ( 'plugin_cmf_customerview ' ) ) {
31+ if ( user . isAllowed ( 'plugin_cmf_perm_customerview ' ) ) {
3232 var customerViewPanelId = 'plugin_cmf_customerview' ;
3333 var item = {
3434 text : t ( 'plugin_cmf_customerview' ) ,
@@ -56,7 +56,7 @@ pimcore.plugin.customermanagementframework = Class.create(pimcore.plugin.admin,
5656 }
5757
5858 // customer duplicates view
59- if ( pimcore . settings . cmf . duplicatesViewEnabled && user . isAllowed ( 'plugin_cmf_customerview ' ) ) {
59+ if ( pimcore . settings . cmf . duplicatesViewEnabled && user . isAllowed ( 'plugin_cmf_perm_customerview ' ) ) {
6060 var customerDuplicateViewPanelId = 'plugin_cmf_customerduplicatesview' ;
6161 var item = {
6262 text : t ( 'plugin_cmf_customerduplicatesview' ) ,
@@ -83,7 +83,7 @@ pimcore.plugin.customermanagementframework = Class.create(pimcore.plugin.admin,
8383 menuItems . add ( item ) ;
8484 }
8585
86- if ( user . isAllowed ( 'plugin_cmf_customer_automation_rules ' ) ) {
86+ if ( user . isAllowed ( 'plugin_cmf_perm_customer_automation_rules ' ) ) {
8787 var customerAutomationRulesPanelId = 'plugin_cmf_customerautomationrules' ;
8888 var item = {
8989 text : t ( 'plugin_cmf_customerautomationrules' ) ,
@@ -101,7 +101,7 @@ pimcore.plugin.customermanagementframework = Class.create(pimcore.plugin.admin,
101101 menuItems . add ( item ) ;
102102 }
103103
104- if ( pimcore . settings . cmf . newsletterSyncEnabled && user . isAllowed ( 'plugin_cmf_newsletter_enqueue_all_customers ' ) ) {
104+ if ( pimcore . settings . cmf . newsletterSyncEnabled && user . isAllowed ( 'plugin_cmf_perm_newsletter_enqueue_all_customers ' ) ) {
105105 var item = {
106106 text : t ( 'plugin_cmf_newsletter_enqueue_all_customers' ) ,
107107 iconCls : 'pimcore_icon_newsletter_enqueue_all_customers' ,
0 commit comments