mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Modified scopes
This commit is contained in:
parent
ece7cb04ab
commit
6e8f3f5db2
@ -329,7 +329,7 @@ public interface DeviceManagementService {
|
||||
message = "Internal Server Error. \n " +
|
||||
"Server error occurred while dis-enrolling the device.")
|
||||
})
|
||||
@Scope(key = "device:android:enroll", name = "Enroll Android device", description = "")
|
||||
@Scope(key = "device:android:disenroll", name = "Enroll Android device", description = "")
|
||||
Response disEnrollDevice(
|
||||
@ApiParam(
|
||||
name = "id",
|
||||
|
||||
@ -81,7 +81,7 @@ public interface DeviceTypeConfigurationService {
|
||||
code = 500,
|
||||
message = "Internal Server Error. \n Server error occurred while fetching Android platform configuration.")
|
||||
})
|
||||
@Scope(key = "configuration:read", name = "View configurations", description = "")
|
||||
@Scope(key = "configuration:view", name = "View configurations", description = "")
|
||||
Response getConfiguration(
|
||||
@ApiParam(
|
||||
name = "If-Modified-Since",
|
||||
@ -131,7 +131,7 @@ public interface DeviceTypeConfigurationService {
|
||||
message = "Internal Server Error. \n " +
|
||||
"Server error occurred while modifying Android platform configuration.")
|
||||
})
|
||||
@Scope(key = "configuration:write", name = "Add configurations", description = "")
|
||||
@Scope(key = "configuration:manage", name = "Add configurations", description = "")
|
||||
Response updateConfiguration(
|
||||
@ApiParam(name = "configuration",
|
||||
value = "AndroidPlatformConfiguration")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user