|
|
@ -189,6 +189,13 @@ import java.util.List;
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/add"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/add"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
@Scope(
|
|
|
|
|
|
|
|
name = "Viewing Enrollment Guide",
|
|
|
|
|
|
|
|
description = "Show enrollment guide to users",
|
|
|
|
|
|
|
|
key = "perm:devices:enrollment-guide:view",
|
|
|
|
|
|
|
|
roles = {"Internal/devicemgt-user"},
|
|
|
|
|
|
|
|
permissions = {"/device-mgt/devices/enrollment-guide/view"}
|
|
|
|
|
|
|
|
),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
@Path("/devices")
|
|
|
|
@Path("/devices")
|
|
|
@ -816,7 +823,7 @@ public interface DeviceManagementService {
|
|
|
|
tags = "Device Management",
|
|
|
|
tags = "Device Management",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = Constants.SCOPE, value = "perm:devices:view")
|
|
|
|
@ExtensionProperty(name = Constants.SCOPE, value = "perm:devices:enrollment-guide:view")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
|