From 0a99923d4a55ae65abccf0d67785d428090a38a6 Mon Sep 17 00:00:00 2001 From: charithag Date: Wed, 19 Aug 2015 19:16:03 +0530 Subject: [PATCH] Modify permission resource ids for groups --- .../src/repository/jaggeryapps/iotserver/modules/utility.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/modules/utility.js b/modules/distribution/src/repository/jaggeryapps/iotserver/modules/utility.js index 81f1bffd..55ae9fe9 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/modules/utility.js +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/modules/utility.js @@ -108,15 +108,15 @@ utility = function () { userModule.addPermissions([{key: "groups", name: "Groups"}], "device-mgt/user", type); userModule.addPermissions([{ - key: "groups/monitor", + key: "groups/device_monitor", name: "Monitor Devices in Group" }], "device-mgt/user", type); userModule.addPermissions([{ - key: "groups/operation", + key: "groups/device_operation", name: "Perform Device Operation" }], "device-mgt/user", type); userModule.addPermissions([{ - key: "groups/list", + key: "groups/device_list", name: "List Groups of User" }], "device-mgt/user", type); };