Skip to content

[Bug] Self-hosted OSS organization details endpoint returns only owner/invites instead of all members #4060

@eduardofischer

Description

@eduardofischer

Describe the bug

In a self-hosted Agenta deployment, the organization details endpoint does not return the full list of actual members.

GET /api/organizations/{organization_id} appears to only include:

the organization owner and invitation-derived entries, but not all existing accepted members of the organization/workspace. As a result, the UI shows only a single member even though more users already belong to the organization.

Setup

Self deployed in Kubernetes using the Helm chart

To Reproduce

  1. Run Agenta in a self-hosted OSS deployment.
  2. Create an organization and invite multiple users.
  3. Have at least one invited user successfully join and become an actual member.
  4. Open the organization/workspace member view in the UI, or inspect GET /api/organizations/{organization_id}.
  5. Observe that the response only includes the owner and possibly invitation records, instead of the full member list.

Expected behavior

The organization details response should include all actual members of the organization/workspace, not just the owner and invite records.

Screenshots

No response

Agenta SDK Version

v0.95.0

Agenta Image Tag

v0.95.0

Important Context

This was observed in a self-hosted deployment.

The current OSS implementation of GET /api/organizations/{organization_id} appears to build members from:

get_organization_owner(...)
get_project_invitations(...)
and then merges those two lists, without querying all accepted members.

LinkedIn details

https://www.linkedin.com/in/edufischer/

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions