You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GET /v1/organizations/{id}/members 500s — core.organization_members does not exist #655
GET /v1/organizations/{id}/members
{"error":"Failed to fetch members","message":"Could not find the table 'core.organization_members' in the schema cache"}
routes/organizations.ts:101. Verified against a live local stack with a real org id.
The nearest things are core.team_members and community.memberships, neither of which is org membership.
Organization membership in this schema is core.role_assignments.scope_org_id — that is what lib/org-access.ts uses (added in #617) and what /{id}/location-visibility and /{id}/projects-with-overrides have always used. The members route is the odd one out.
public.organization_members is referenced too, at office-users.ts:174 — see the delete-cascade issue.
Acceptance
GET /v1/organizations/{id}/members returns 200, listing members from core.role_assignments joined to core.users
The caller is gated with canReadOrgInternals from lib/org-access.ts rather than a fourth inline copy of the predicate
A test asserts a non-member cannot list another org's members
Activity
fix(api): review links were unreachable, and the org member list read…