Adding devices:update into /devices scopes list

merge-requests/7/head
Rasika Perera 8 years ago
parent e11d2244f5
commit f57de670ea

@ -80,6 +80,12 @@ import javax.ws.rs.core.Response;
key = "perm:devices:details", key = "perm:devices:details",
permissions = {"/device-mgt/devices/owning-device/view"} permissions = {"/device-mgt/devices/owning-device/view"}
), ),
@Scope(
name = "Update the device specified by device id",
description = "Update the device specified by device id",
key = "perm:devices:update",
permissions = {"/device-mgt/devices/owning-device/view"}
),
@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",

Loading…
Cancel
Save