feat(cloud): add scoped support admin sessions

This commit is contained in:
dadachann
2026-07-31 07:25:33 +00:00
parent e1ac5e0fc8
commit b0ece9c455
25 changed files with 1285 additions and 25 deletions
@@ -270,7 +270,7 @@ async def test_space_credits_are_resolved_from_workspace_owner(space_oauth_api):
response = await client.get(
'/api/v1/user/space-credits',
headers={'Authorization': 'Bearer account-token', 'X-Workspace-UUID': WORKSPACE_UUID},
headers={'Authorization': 'Bearer account-token', 'X-Workspace-Id': WORKSPACE_UUID},
)
assert response.status_code == 200