Project

General

Profile

Actions

Sub-Task #309

open

Epic #105: Account & Preferences Management

Feature #106: Update profile information

Paginated list of group members with their user and who added them

Sub-Task #309: Paginated list of group members with their user and who added them

Added by Bricklou 21 days ago. Updated 20 days ago.

Status:
In Review
Priority:
Normal
Assigned To:
Target version:
Start date:
11/06/2026
Due date:
% Done:

100%

Estimated time:

Description

Technical specification of the member list of a group, so that the page needs a single request.

  • GET /api/v1/groups/{id}/members returns a page of members. Each member carries the user (id, username, avatar address), when they were added, and who added them (id, username and avatar address, or nothing).
  • The list is paginated, and can be searched by username and sorted by username or by date of addition, like the other server-driven lists.
  • The names come from the same query as the page: the members are joined with their accounts, and the accounts that added them are read for the page only. The group feature keeps working with user ids everywhere else.
  • The right to read the groups is enough to see the names of their members.
  • A member whose account is suspended is still named. Someone added by the system, or by an account that was deleted, has no author.
  • The dashboard shows the list with its server-driven table and no longer calls POST /api/v1/users/lookup for the members of a group. The number of members a group has, asked before deleting it, is the total of the first page.
  • The dialog that adds members does not suggest again the members of the page being shown. Adding someone who is already a member changes nothing.

Acceptance criteria:

  • The member list of a group is loaded with one request, one page at a time.
  • Each member shows their avatar, or their initials, and their username.
  • The date of addition and the username of who added them are shown.
  • The list can be searched and sorted from the page.
  • Reading the groups is enough: no other right is asked to see the names.
  • Every case is covered by a test, with a real database.
Actions

Also available in: PDF Atom