Files
open-webui/src/lib/apis
Athanasios Oikonomou dc453efa5c feat: Display assigned user groups in Admin Panel
Description:
This PR adds the ability to view a user’s assigned groups in the Admin Panel when editing a user.

Backend Changes:
    Added a new endpoint:
    GET /api/v1/users/{user_id}/groups

        Returns the list of groups assigned to a specific user.
        Requires admin privileges.

Frontend Changes:
    Implemented getUserGroupsById API function to call the new backend endpoint, in lib/apis/users.

    Updated EditUserModal.svelte to:
        Load user groups asynchronously when the modal is opened.
        Display the groups inline in the form before the Save button.
        Show a loading state while fetching, and a “No groups assigned” message if none exist.

Result:
Admins can now see which groups a user belongs to directly from the edit user modal,
improving visibility and reducing the need to navigate away for group membership checks.
2025-08-10 14:49:01 +03:00
..
2025-05-24 00:36:30 +04:00
2025-07-13 03:30:42 +04:00
2025-06-28 15:12:31 +04:00
2025-05-24 00:36:30 +04:00
2025-07-19 19:46:35 +04:00
2025-05-26 23:52:22 +04:00
2025-07-09 01:17:25 +04:00
2025-05-19 03:40:32 +04:00
2024-12-17 13:51:29 -08:00
2025-05-29 02:08:54 +04:00