datahub-project / datahub

The Metadata Platform for your Data and AI Stack
https://datahubproject.io
Apache License 2.0
9.93k stars 2.94k forks source link

Removing a user having multiple role from owner tab also remove the other roles associated to that user #2567

Closed saxo-lalrishav closed 3 years ago

saxo-lalrishav commented 3 years ago

Describe the bug Removing a user having multiple role from owner tab also remove the other roles associated to that user

To Reproduce Steps to reproduce the behavior:

  1. Go to https://demo.datahubproject.io/dataset/urn:li:dataset:(urn:li:dataPlatform:s3,datahub-demo-backup.demo.aspects,PROD)/ownership
  2. Add single user with multiple role
  3. Remove that user for a single role
  4. All the roles associated with same type of user gets removed.

Expected behavior On the removed role should be eliminated

Screenshots If applicable, add screenshots to help explain your problem.

After adding user image

After removing user image

saxo-lalrishav commented 3 years ago

Closed via https://github.com/linkedin/datahub/pull/2570