|
|
|
@ -87,6 +87,36 @@ utility = function () {
|
|
|
|
|
key: "devices/operation",
|
|
|
|
|
name: "Perform Operation"
|
|
|
|
|
}], "device-mgt/user", "init");
|
|
|
|
|
|
|
|
|
|
// Group Management Permissions
|
|
|
|
|
userModule.addPermissions([{
|
|
|
|
|
key: "groups/monitor",
|
|
|
|
|
name: "Monitor Devices in Group"
|
|
|
|
|
}], "group-mgt/user", "init");
|
|
|
|
|
userModule.addPermissions([{
|
|
|
|
|
key: "groups/operation",
|
|
|
|
|
name: "Perform Device Operation"
|
|
|
|
|
}], "group-mgt/user", "init");
|
|
|
|
|
userModule.addPermissions([{
|
|
|
|
|
key: "groups/add_devices",
|
|
|
|
|
name: "Add Devices to Group"
|
|
|
|
|
}], "group-mgt/user", "init");
|
|
|
|
|
userModule.addPermissions([{
|
|
|
|
|
key: "groups/remove_devices",
|
|
|
|
|
name: "Remove Devices from Group"
|
|
|
|
|
}], "group-mgt/user", "init");
|
|
|
|
|
userModule.addPermissions([{
|
|
|
|
|
key: "groups/modify",
|
|
|
|
|
name: "Modify Group"
|
|
|
|
|
}], "group-mgt/user", "init");
|
|
|
|
|
userModule.addPermissions([{
|
|
|
|
|
key: "groups/share",
|
|
|
|
|
name: "Change Group Sharing"
|
|
|
|
|
}], "group-mgt/user", "init");
|
|
|
|
|
userModule.addPermissions([{
|
|
|
|
|
key: "groups/delete",
|
|
|
|
|
name: "Delete Group"
|
|
|
|
|
}], "group-mgt/user", "init");
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
return publicMethods;
|
|
|
|
|