mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'master' into 'master'
Add missing permission in v0.9 API See merge request entgra/carbon-device-mgt!73
This commit is contained in:
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…
Reference in New Issue
Block a user