mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'master' of github.com:wso2/carbon-device-mgt
This commit is contained in:
commit
f100853031
@ -429,7 +429,9 @@ public interface PolicyManagementService {
|
|||||||
" the policy enforcement criteria . In a situation where you need to make changes to existing" +
|
" the policy enforcement criteria . In a situation where you need to make changes to existing" +
|
||||||
" policies (removing, activating, deactivating and updating) or add new policies, the existing" +
|
" policies (removing, activating, deactivating and updating) or add new policies, the existing" +
|
||||||
" devices will not receive these changes immediately. Once all the required changes are made" +
|
" devices will not receive these changes immediately. Once all the required changes are made" +
|
||||||
" you need to apply the changes to push the policy changes to the existing devices.")
|
" you need to apply the changes to push the policy changes to the existing devices.",
|
||||||
|
tags = "Device Policy Management"
|
||||||
|
)
|
||||||
@ApiResponses(
|
@ApiResponses(
|
||||||
value = {
|
value = {
|
||||||
@ApiResponse(
|
@ApiResponse(
|
||||||
|
|||||||
@ -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…
Reference in New Issue
Block a user