User API does not return group memberships / group assignments don't work

When retrieving user information via the Xibo API, the endpoint /api/user{id} does not return the user’s group memberships. The groups array is always empty, even when the user is assigned to multiple groups in the cms.

In contrast, the endpoint /api/user/me does return the correct group membership information.

Additionally, the group-related endpoints to un/assign members (/api/group/members/assign)to a group seem to be non-functional. Attempts to modify group memberships have no effect in the CMS UI.

Tested in Xibo 4.5.0 (Docker install)

Happy to provide more details if needed.

Hi! Thank you for reporting this. I’ll raise this with the development team so that we can create a ticket for this and work on a fix.

Hello! The first issue has been logged here: Users: GET /api/user/{id} does not return the user's group memberships · Issue #3943 · xibosignage/xibo · GitHub. For the second issue related to /api/group/members/assign, I wasn’t able to reproduce it via the API request. Could you kindly let me know the request/response body and verify if the user has the correct permission?