Add permissions required to grouping

merge-requests/1/head
charithag 9 years ago
parent 54a4bc4961
commit 30df14b284

@ -1,4 +1,4 @@
<datasources-configuration> <datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration">
<providers> <providers>
<provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider> <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
</providers> </providers>

@ -87,6 +87,36 @@ utility = function () {
key: "devices/operation", key: "devices/operation",
name: "Perform Operation" name: "Perform Operation"
}], "device-mgt/user", "init"); }], "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; return publicMethods;

@ -339,7 +339,7 @@
<version>${carbon.device.mgt.version}</version> <version>${carbon.device.mgt.version}</version>
</feature> </feature>
<feature> <feature>
<id>org.wso2.carbon.device.mgt.user.server.feature.group</id> <id>org.wso2.carbon.device.mgt.group.server.feature.group</id>
<version>${carbon.device.mgt.version}</version> <version>${carbon.device.mgt.version}</version>
</feature> </feature>
<feature> <feature>

Loading…
Cancel
Save