Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing role title does not include "USER PURGED" string instead of purged user's email #19267

Closed
jdavcs opened this issue Dec 5, 2024 · 3 comments
Assignees
Labels
area/admin area/database Galaxy's database or data access layer kind/bug release-testing-24.2 Issues stemming from 24.2 release testing process and PRs to address them

Comments

@jdavcs
Copy link
Member

jdavcs commented Dec 5, 2024

A sharing role title includes the email of each user it is shared with. Once a user is purged, that email should be replaced with USER PURGED. It is not; instead it is replaced with the hash that replaced the user's email on purge.

image

Introduced: #19096

EDIT: must also look into unit test that was supposed to cover this.

@jdavcs jdavcs added kind/bug area/admin area/database Galaxy's database or data access layer release-testing-24.2 Issues stemming from 24.2 release testing process and PRs to address them labels Dec 5, 2024
@jdavcs jdavcs self-assigned this Dec 5, 2024
@martenson
Copy link
Member

I thought that's covered here

assert role_sharing1.name == "sharing role for [USER PURGED], [email protected]"

@jdavcs
Copy link
Member Author

jdavcs commented Dec 5, 2024

I thought that's covered here

assert role_sharing1.name == "sharing role for [USER PURGED], [email protected]"

I thought so too! Apparently not.

@jdavcs
Copy link
Member Author

jdavcs commented Dec 6, 2024

It is not a sharing role title: it is just a private role of a purged user, so it's displayed as expected. These hashes are displayed everywhere where a purged user's private role was associated with an item. It's not ideal, we probably should replace these long strings with a helpful placeholder on the UI ("purged user"?), but it's not a bug.

@jdavcs jdavcs closed this as completed Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/admin area/database Galaxy's database or data access layer kind/bug release-testing-24.2 Issues stemming from 24.2 release testing process and PRs to address them
Projects
None yet
Development

No branches or pull requests

2 participants