🚀 Feature: if you edit as admin some users, show their groups #447

Closed
opened 2025-10-07 00:15:14 +03:00 by OVERLORD · 13 comments
Owner

Originally created by @PaddyPat on GitHub.

Originally assigned to: @kmendell on GitHub.

Feature description

If I edit a user (user is selected), it would be nice to see all groups and easy add the user to new / other groups .

currently I must search every group and add to every group in groups menu a user

Pitch

Thanks

Originally created by @PaddyPat on GitHub. Originally assigned to: @kmendell on GitHub. ### Feature description If I edit a user (user is selected), it would be nice to see all groups and easy add the user to new / other groups . currently I must search every group and add to every group in groups menu a user ### Pitch Thanks
OVERLORD added the feature label 2025-10-07 00:15:14 +03:00
Author
Owner

@PaddyPat commented on GitHub:

If I edit a existing member there is a page with

general

..

profile picture

..

custom claim

And I think a new headline

assigned groups (sorted by name!)

[ ] group mealie
[ ] group outline
[x] group pingvinshare
[ ] group …

Where you easy and fast see which group is assigned to one user will help.

Also it should be possible to assign in this view the selected user to groups

Like

[x] group mealie
[x] group outline
[x] group pingvinshare
[ ] group …


Currently I must open every group and check which user is inside..

@PaddyPat commented on GitHub: If I edit a existing member there is a page with ## general .. ## profile picture .. ## custom claim … And I think a new headline ## assigned groups (sorted by name!) [ ] group mealie [ ] group outline [x] group pingvinshare [ ] group … Where you easy and fast see which group is assigned to one user will help. Also it should be possible to assign in this view the selected user to groups Like [x] group mealie [x] group outline [x] group pingvinshare [ ] group … — Currently I must open every group and check which user is inside..
Author
Owner

@kmendell commented on GitHub:

@PaddyPat Could you attach a screenshot with just a outline of where you were thinking you would like to see this implemented?

@kmendell commented on GitHub: @PaddyPat Could you attach a screenshot with just a outline of where you were thinking you would like to see this implemented?
Author
Owner

@kmendell commented on GitHub:

@PaddyPat So something like this?

Image

Just a note this isn't complete, i want to reuse the same table as other forms, but this was just faster to implement as a test.

@kmendell commented on GitHub: @PaddyPat So something like this? ![Image](https://github.com/user-attachments/assets/31fb7221-f85c-4a00-9e8a-9bf9c12f3fbb) Just a note this isn't complete, i want to reuse the same table as other forms, but this was just faster to implement as a test.
Author
Owner

@kmendell commented on GitHub:

This issue is seems a bit redundant since the functionaltiy is already implemented somewhere else, but If this feature request gets more likes (👍) and the demand for the feature is there, we will consider implementing it.

@kmendell commented on GitHub: This issue is seems a bit redundant since the functionaltiy is already implemented somewhere else, but If this feature request gets more likes (👍) and the demand for the feature is there, we will consider implementing it.
Author
Owner

@kmendell commented on GitHub:

This is a better version it uses the same table, as the other forms.

Image

You can test by using this image: ghcr.io/kmendell/pocket-id:user-group-form

@kmendell commented on GitHub: This is a better version it uses the same table, as the other forms. ![Image](https://github.com/user-attachments/assets/33b36305-2bb2-44ba-861a-31f980750d4c) You can test by using this image: `ghcr.io/kmendell/pocket-id:user-group-form`
Author
Owner

@PaddyPat commented on GitHub:

@kmendell awesome, it's fine, great job, no issues.

fyi, sorting is not fixed in:

  • .../settings/admin/users
  • .../settings/admin/user-groups
  • .../settings/admin/user-groups/6a1asdf-asd-asd-asd-asdasd (users in group)
  • .../settings/admin/oidc-clients
@PaddyPat commented on GitHub: @kmendell awesome, it's fine, great job, no issues. fyi, sorting is not fixed in: - .../settings/admin/users - .../settings/admin/user-groups - .../settings/admin/user-groups/6a1asdf-asd-asd-asd-asdasd (users in group) - .../settings/admin/oidc-clients
Author
Owner

@kmendell commented on GitHub:

@PaddyPat Can you try again with the: ghcr.io/kmendell/pocket-id:user-group-form image?

As far as the default sort count, the rest of the tables are at 10 by default, and i think this is by design. So i kept this one at 10 as well.

@kmendell commented on GitHub: @PaddyPat Can you try again with the: `ghcr.io/kmendell/pocket-id:user-group-form` image? As far as the default sort count, the rest of the tables are at 10 by default, and i think this is by design. So i kept this one at 10 as well.
Author
Owner

@kmendell commented on GitHub:

@kmendell awesome, it's fine, great job, no issues.

fyi, sorting is not fixed in:

  • .../settings/admin/users
  • .../settings/admin/user-groups
  • .../settings/admin/user-groups/6a1asdf-asd-asd-asd-asdasd (users in group)
  • .../settings/admin/oidc-clients

What do you mean? On the other tables in other pages? That should be handled in a sperate issue vs this one, Just for tracking purposes.

@kmendell commented on GitHub: > [@kmendell](https://github.com/kmendell) awesome, it's fine, great job, no issues. > > fyi, sorting is not fixed in: > > * .../settings/admin/users > * .../settings/admin/user-groups > * .../settings/admin/user-groups/6a1asdf-asd-asd-asd-asdasd (users in group) > * .../settings/admin/oidc-clients What do you mean? On the other tables in other pages? That should be handled in a sperate issue vs this one, Just for tracking purposes.
Author
Owner

@PaddyPat commented on GitHub:

Thanks, looks fine.
please:

  • "more than 10 items " Switch (1) doesn't work
  • Allow us to change default "10" items to 50? (on all pages also in groups view if you have more than 10 users)
  • The Page switcher (2) doesn't work
  • Allow us sorting by "FriendlyName" over all tables
Image
@PaddyPat commented on GitHub: Thanks, looks fine. please: - "more than 10 items " Switch (1) doesn't work - Allow us to change default "10" items to 50? (on all pages also in groups view if you have more than 10 users) - The Page switcher (2) doesn't work - Allow us sorting by "FriendlyName" over all tables <img width="1150" alt="Image" src="https://github.com/user-attachments/assets/5b219fb7-e3dd-46a9-b3b8-86dce26f75c0" />
Author
Owner

@kmendell commented on GitHub:

Gotcha i'll try to fix the state values of the page nation and the sorting, i'll try to fix that today, and let you know when i have pushed a updated image

@kmendell commented on GitHub: Gotcha i'll try to fix the state values of the page nation and the sorting, i'll try to fix that today, and let you know when i have pushed a updated image
Author
Owner

@PaddyPat commented on GitHub:

If I open one of the other urls

Https://pocketid.Domain.com/settings/admin/users

Or ..

.../settings/admin/user-groups
.../settings/admin/user-groups/6a1asdf-asd-asd-asd-asdasd (users in group)
.../settings/admin/oidc-clients

The sorting is wrong. I must first select sort by FriendlyName.
It sorts fine on your fixed page but not on other urls.

Maybe it’s easy for you to fix also the other ‚tables‘

@PaddyPat commented on GitHub: If I open one of the other urls Https://pocketid.Domain.com/settings/admin/users Or .. .../settings/admin/user-groups .../settings/admin/user-groups/6a1asdf-asd-asd-asd-asdasd (users in group) .../settings/admin/oidc-clients The sorting is wrong. I must first select sort by FriendlyName. It sorts fine on your fixed page but not on other urls. Maybe it’s easy for you to fix also the other ‚tables‘
Author
Owner

@kmendell commented on GitHub:

Oh yeah it was doing that on my user page as well but i implemented a helper function to fix that. I opened https://github.com/pocket-id/pocket-id/issues/298 for it.

@kmendell commented on GitHub: Oh yeah it was doing that on my user page as well but i implemented a helper function to fix that. I opened https://github.com/pocket-id/pocket-id/issues/298 for it.
Author
Owner

@kmendell commented on GitHub:

Though I'm not sure what you mean, I'm testing the sorting , and it seems to sort just fine for my instance.

@kmendell commented on GitHub: Though I'm not sure what you mean, I'm testing the sorting , and it seems to sort just fine for my instance.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#447