odd-platform
odd-platform copied to clipboard
Filter on Activities doesn't work properly for Users
On the Activity tab (from the main page or on each Data Entity) there is a possibility to filter out Activities made by users. User name is recorded to the underlying audit table. There is a filter to find records by user name by for now it looks for Owners and filters out records changed by the associated Owners. It leads to some issues:
- If user does not have an association with Owner we could not filter out records by the user.
- If Owner - User association is changed during the time filter mistakenly filters records for wrong users.
Proposed solution: use valued from the audit table for Users directly.
The list of all tracked activity types: odd-platform-api/src/main/java/org/opendatadiscovery/oddplatform/dto/activity/ActivityEventTypeDto.java
Draft PR: https://github.com/opendatadiscovery/odd-platform/pull/1658