Fixing device types not retrieving issue

revert-70aa11f8
dilanua 9 years ago
parent 03ac7f53d9
commit d34f29ab46

@ -322,6 +322,7 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
} }
@GET @GET
@Path("/types")
@Override @Override
public Response getDeviceTypes() { public Response getDeviceTypes() {
List<DeviceType> deviceTypes; List<DeviceType> deviceTypes;

@ -589,13 +589,13 @@
</Permission> </Permission>
<Permission> <Permission>
<name>Deactivate Policy</name> <name>Deactivate Policy</name>
<path>/device-mgt/user/policies/add</path> <path>/device-mgt/admin/policies/add</path>
<url>/policies/deactivate-policy</url> <url>/policies/deactivate-policy</url>
<method>PUT</method> <method>PUT</method>
</Permission> </Permission>
<Permission> <Permission>
<name>Remove Policy</name> <name>Remove Policy</name>
<path>/device-mgt/user/policies/remove</path> <path>/device-mgt/admin/policies/remove</path>
<url>/policies/remove-policy</url> <url>/policies/remove-policy</url>
<method>POST</method> <method>POST</method>
</Permission> </Permission>

Loading…
Cancel
Save