Skip to content

Admin user-quota modal cannot load a user's created datasets #7317

Closed

Description

@aglinxinyuan

What happened?

Opening the user-quota modal from the admin user list (Dashboard → Admin → User → quota icon) fails to load the "created datasets" panel. The request for the inspected user's datasets 404s, so the dataset table, the size pie chart, and the upload line chart all stay empty.

AdminUserService.getCreatedDatasets() requests /admin/user/created_datasets, but AdminUserResource never exposed that route — it only has /list, /update, /add, /created_workflows, /access_workflows, /user_quota_size, and /deleteCollection/{eid}. A created_datasets endpoint exists only on UserQuotaResource under @Path("/quota"), and it resolves the uid from the authenticated session (@Auth current_user) rather than a parameter, so it cannot serve "the datasets of the user this admin is inspecting" either.

The service method also accepts a uid argument and then drops it, so even once a route exists the request would target the wrong user.

Expected: the admin quota modal shows the datasets owned by the user being inspected.

How to reproduce?

  1. Log in as an ADMIN user.
  2. Go to Dashboard → Admin → User.
  3. Click the quota/statistics icon for any user to open the user-quota modal.
  4. Observe that the created-datasets panel is empty; the browser network tab shows GET /api/admin/user/created_datasets returning 404.

The workflow panels in the same modal populate normally, since /admin/user/created_workflows does exist — which makes the datasets panel look merely empty rather than broken.

Version/Branch

1.3.0-incubating-SNAPSHOT (main)

Commit Hash (Optional)

2fb1ff4

What browsers are you seeing the problem on?

Chrome

Activity

  1. added theissue type on Aug 5, 2026
  2. added a commit that references this issue on Aug 5, 2026
    0f2cd49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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