svthalia / concrexit

Thalia Website built on Django.
https://thalia.nu
Other
22 stars 12 forks source link

View group memberships in user admin #3436

Closed DeD1rk closed 1 month ago

DeD1rk commented 1 year ago

What?

Show a (initially collapsed) inline of (current or all?) group memberships in the user admin.

Why?

It's currently quite not really streamlined to find someone's group memberships. For example, you can't search by username or pk in the groupmemberships admin list.

How?

Add an inline (readonly). And maybe tweak the search fields in the groupmemberships admin as well.

ColonelPhantom commented 12 months ago

A bug in Django makes this impossible; I reported the bug and it has been fixed since. But we'll need to wait for a release that includes it.

https://code.djangoproject.com/ticket/34927

DeD1rk commented 5 months ago

@ColonelPhantom that fix has finally at least ended up in a tag 2 weeks ago: https://github.com/django/django/releases/tag/5.1a1

So hopefully maybe finally in 5.1?