Skip to content

bug: groups appear with 0 members in sharing workspace add member dropdown #1302

@zenithwolf1000

Description

@zenithwolf1000

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

As a member of an organization, when attempting to share a workspace with a group, the autocomplete dropdown shows the Group but all groups show up as having 0 members. After adding the group, however, the Members table shows the correct number of group members.

This does not happen with Deployment or Organization admin roles, only Member roles.

Example:

Image

Relevant Log Output

Expected Behavior

Groups show up with the right number of members
Example:
Image

Steps to Reproduce

  1. As member User A, create a workspace
  2. Go to the Sharing page for the workspace
  3. Search for a Group

Environment

Host: dev.coder.com
Coder Version: v2.29.3-devel 3ee4f6d0e

Additional Context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions