fix(site): use total_member_count for group subtitles when sharing by geokat · Pull Request #21744 · coder/coder

@geokat

Justification:

  - Populating `members` is authorized with `group_member.read`
    which is not required to be able to share a workspace

  - Populating `total_member_count` is authorized with `group.read`
    which is required to be able to share

  - The updated helper is only used in template/workspace sharing UIs,
    so other pages that might need counts of readable members are
    unaffected

Related to: coder/internal#1302

@geokat geokat marked this pull request as ready for review

January 29, 2026 01:33

jaaydenh

@geokat geokat deleted the geokat/internal-1302-groups-with-zero-members-when-sharing-workspace branch

January 29, 2026 16:33