|
|
@ -99,63 +99,63 @@ import java.util.Map;
|
|
|
|
description = "Getting Details of a Device",
|
|
|
|
description = "Getting Details of a Device",
|
|
|
|
key = "dm:devices:details",
|
|
|
|
key = "dm:devices:details",
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/view"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/details/view"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Update the device specified by device id",
|
|
|
|
name = "Update the device specified by device id",
|
|
|
|
description = "Update the device specified by device id",
|
|
|
|
description = "Update the device specified by device id",
|
|
|
|
key = "dm:devices:update",
|
|
|
|
key = "dm:devices:update",
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/view"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/update"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Delete the device specified by device id",
|
|
|
|
name = "Delete the device specified by device id",
|
|
|
|
description = "Delete the device specified by device id",
|
|
|
|
description = "Delete the device specified by device id",
|
|
|
|
key = "dm:devices:delete",
|
|
|
|
key = "dm:devices:delete",
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/view"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/delete"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Getting Feature Details of a Device",
|
|
|
|
name = "Getting Feature Details of a Device",
|
|
|
|
description = "Getting Feature Details of a Device",
|
|
|
|
description = "Getting Feature Details of a Device",
|
|
|
|
key = "dm:devices:features:view",
|
|
|
|
key = "dm:devices:features:view",
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/view"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/features/view"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Advanced Search for Devices",
|
|
|
|
name = "Advanced Search for Devices",
|
|
|
|
description = "Advanced Search for Devices",
|
|
|
|
description = "Advanced Search for Devices",
|
|
|
|
key = "dm:devices:search",
|
|
|
|
key = "dm:devices:search",
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/view"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/search"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Getting Installed Application Details of a Device",
|
|
|
|
name = "Getting Installed Application Details of a Device",
|
|
|
|
description = "Getting Installed Application Details of a Device",
|
|
|
|
description = "Getting Installed Application Details of a Device",
|
|
|
|
key = "dm:devices:app:view",
|
|
|
|
key = "dm:devices:app:view",
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/view"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/apps/view"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Getting Device Operation Details",
|
|
|
|
name = "Getting Device Operation Details",
|
|
|
|
description = "Getting Device Operation Details",
|
|
|
|
description = "Getting Device Operation Details",
|
|
|
|
key = "dm:devices:ops:view",
|
|
|
|
key = "dm:devices:ops:view",
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/view"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/view"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Get the details of the policy that is enforced on a device.",
|
|
|
|
name = "Get the details of the policy that is enforced on a device.",
|
|
|
|
description = "Get the details of the policy that is enforced on a device.",
|
|
|
|
description = "Get the details of the policy that is enforced on a device.",
|
|
|
|
key = "dm:devices:policy:view",
|
|
|
|
key = "dm:devices:policy:view",
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/view"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/policies/view"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Getting Policy Compliance Details of a Device",
|
|
|
|
name = "Getting Policy Compliance Details of a Device",
|
|
|
|
description = "Getting Policy Compliance Details of a Device",
|
|
|
|
description = "Getting Policy Compliance Details of a Device",
|
|
|
|
key = "dm:devices:compliance:view",
|
|
|
|
key = "dm:devices:compliance:view",
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/view"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/compliance/view"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Change device status.",
|
|
|
|
name = "Change device status.",
|
|
|
|