odd-platform icon indicating copy to clipboard operation
odd-platform copied to clipboard

Filter on Activities doesn't work properly for Users

Open RamanDamayeu opened this issue 1 year ago • 1 comments

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:

  1. If user does not have an association with Owner we could not filter out records by the user.
  2. 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

RamanDamayeu avatar Apr 10 '24 09:04 RamanDamayeu

Draft PR: https://github.com/opendatadiscovery/odd-platform/pull/1658

RamanDamayeu avatar Jun 11 '24 12:06 RamanDamayeu