Merge branch 'master' into 'master'

Add missing permission in v0.9 API

See merge request entgra/carbon-device-mgt!73
merge-requests/108/head
Saad Sahibjan 6 years ago
commit a9f19a6afb

@ -140,6 +140,12 @@ import java.util.List;
description = "Sending Enrollment Invitations to Users",
key = "perm:users:send-invitation",
permissions = {"/device-mgt/users/manage"}
),
@Scope(
name = "Get activities",
description = "Get activities",
key = "perm:get-activity",
permissions = {"/device-mgt/devices/owning-device/view"}
)
}
)

@ -71,6 +71,12 @@ import java.util.List;
description = "Getting Details of a Device",
key = "perm:admin:devices:view",
permissions = {"/device-mgt/devices/owning-device/view"}
),
@Scope(
name = "Update the Device Owner",
description = "Update the ownership of the device",
key = "perm:admin:devices:update-enrollment",
permissions = {"/device-mgt/admin/devices/update-enrollment"}
)
}
)

Loading…
Cancel
Save