Skip to content

Commit d88bf3f

Browse files
rliebikingjia90
andauthored
[Bug]: Fix for plugin_cmf_perm_activityview permission issue (#561)
Co-authored-by: Ji Jia Jia <[email protected]>
1 parent 8d871e0 commit d88bf3f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/Resources/public/js/ActivityView.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@
1414

1515
var ActivityView = pimcore.registerNS("pimcore.plugin.customermanagementframework.ActivityView");
1616

17-
ActivityView.config = {
18-
PERMISSION: "plugin_cmf_perm_activityview"
19-
};
17+
Object.defineProperty(ActivityView,'config', {
18+
value: {
19+
PERMISSION: "plugin_cmf_perm_activityview"
20+
},
21+
writable: false,
22+
});
2023

2124
ActivityView.ActivityTab = Class.create({
2225

0 commit comments

Comments
 (0)