mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
fixing windows configuration issue
This commit is contained in:
parent
312e22ea4b
commit
a327908fa8
@ -102,9 +102,10 @@ public class ConfigurationMgtServiceImpl implements ConfigurationMgtService {
|
|||||||
String message;
|
String message;
|
||||||
ConfigurationEntry licenseEntry = null;
|
ConfigurationEntry licenseEntry = null;
|
||||||
PlatformConfiguration configuration = new PlatformConfiguration();
|
PlatformConfiguration configuration = new PlatformConfiguration();
|
||||||
|
configuration.setConfiguration(windowsPlatformConfiguration.getConfiguration());
|
||||||
try {
|
try {
|
||||||
configuration.setType(DeviceManagementConstants.MobileDeviceTypes.MOBILE_DEVICE_TYPE_WINDOWS);
|
configuration.setType(DeviceManagementConstants.MobileDeviceTypes.MOBILE_DEVICE_TYPE_WINDOWS);
|
||||||
List<ConfigurationEntry> configs = configuration.getConfiguration();
|
List<ConfigurationEntry> configs = windowsPlatformConfiguration.getConfiguration();
|
||||||
for (ConfigurationEntry entry : configs) {
|
for (ConfigurationEntry entry : configs) {
|
||||||
if (PluginConstants.TenantConfigProperties.LICENSE_KEY.equals(entry.getName())) {
|
if (PluginConstants.TenantConfigProperties.LICENSE_KEY.equals(entry.getName())) {
|
||||||
License license = new License();
|
License license = new License();
|
||||||
|
|||||||
@ -10,7 +10,9 @@
|
|||||||
"perm:windows:lock-reset",
|
"perm:windows:lock-reset",
|
||||||
"perm:windows:reboot",
|
"perm:windows:reboot",
|
||||||
"perm:windows:location",
|
"perm:windows:location",
|
||||||
"perm:windows:disenroll"
|
"perm:windows:disenroll",
|
||||||
|
"perm:windows:manage-configuration",
|
||||||
|
"perm:windows:view-configuration"
|
||||||
],
|
],
|
||||||
"analyticsEnabled": "false",
|
"analyticsEnabled": "false",
|
||||||
"groupingEnabled": "false",
|
"groupingEnabled": "false",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user