diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.groups/public/js/listing.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.groups/public/js/listing.js
index a48ec46c887..7dfacfb41f2 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.groups/public/js/listing.js
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.groups/public/js/listing.js
@@ -191,15 +191,15 @@ function loadGroups() {
'Analytics';*/
}
if (row.owner != "wso2.system.user") {
- // if ($.hasPermission("SHARE_GROUP")) {
- // html +=
- // ''
- // +
- // 'Share';
- // }
+ if ($.hasPermission("SHARE_GROUP")) {
+ html +=
+ ''
+ +
+ 'Share';
+ }
if ($.hasPermission("UPDATE_GROUP")) {
html +=
'