device-mgt-core/components
Madawa Soysa 001649e5fd Fix issue with advanced search to pick the correct enrollment
This commit addresses following two issues,

1. Advanced search feature returns the oldest enrollment instance

This issue occurs when the same device is enrolled for multiple users. The cause of the issue is filtering the devices by device identifier which is a unique property for a device. This commit fixes the issue by filtering the devices from enrollment id and owner instead of the device identifier.

2. All devices do not return for privileged users when searched through advanced-search

The cause of the issue is not considering the user permissions when filtering the devices. This commit fixes the issue by validating the permissions of the logged in user before filtering.

Fixes entgra/product-iots#13
Fixes entgra/product-iots#14
2018-12-04 23:04:25 +11:00
..
apimgt-extensions [maven-release-plugin] prepare for next development iteration 2018-11-11 13:25:02 +00:00
certificate-mgt [maven-release-plugin] prepare for next development iteration 2018-11-11 13:25:02 +00:00
device-mgt Fix issue with advanced search to pick the correct enrollment 2018-12-04 23:04:25 +11:00
device-mgt-extensions [maven-release-plugin] prepare for next development iteration 2018-11-11 13:25:02 +00:00
email-sender [maven-release-plugin] prepare for next development iteration 2018-11-11 13:25:02 +00:00
identity-extensions [maven-release-plugin] prepare for next development iteration 2018-11-11 13:25:02 +00:00
policy-mgt [maven-release-plugin] prepare for next development iteration 2018-11-11 13:25:02 +00:00
test-coverage [maven-release-plugin] prepare for next development iteration 2018-11-11 13:25:02 +00:00
webapp-authenticator-framework [maven-release-plugin] prepare for next development iteration 2018-11-11 13:25:02 +00:00