|
|
@ -67,7 +67,7 @@ import javax.ws.rs.core.Response;
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Enroll Device",
|
|
|
|
name = "Enroll Device",
|
|
|
|
description = "Register an Android device",
|
|
|
|
description = "Register an Android device",
|
|
|
|
key = "and:event:devices:enroll",
|
|
|
|
key = "and:devices:enroll",
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
permissions = {"/device-mgt/devices/enroll/android"}
|
|
|
|
permissions = {"/device-mgt/devices/enroll/android"}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -86,7 +86,7 @@ public interface EventReceiverService {
|
|
|
|
tags = "Event Receiver",
|
|
|
|
tags = "Event Receiver",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:event:devices:enroll")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:devices:enroll")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -149,7 +149,7 @@ public interface EventReceiverService {
|
|
|
|
tags = "Event Receiver",
|
|
|
|
tags = "Event Receiver",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:event:devices:enroll")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:devices:enroll")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
|