Skip to content

Dataset Management: Clear upload state on logout #229

Closed

Description

@AkhileshNegi

Is your feature request related to a problem?
Dataset upload state is not cleared upon logout, allowing the next user from a different organization to see the previous session's data. This leads to confusion and potential data exposure between users.

To Reproduce

  1. Log in as a user in Organization 1.
  2. Go to Datasets → Upload Dataset.
  3. Select a CSV, enter a name, set a duplication factor (e.g. 5).
  4. Log out.
  5. Log in as a user in Organization 2 and open the Datasets / Upload screen.
  6. The previous session’s file, name, and duplication factor (and dataset list) are still shown.

Expected behavior
After logout, all dataset state is cleared. Org 2 starts fresh — no pre-filled file, name, or duplication factor, and only Org 2’s datasets are visible.

Activity

  1. changed the title [-]Dataset upload state leaks across user/org sessions[/-] [+]Dataset Management: Clear upload state on logout[/+] on Jun 19, 2026
  2. self-assigned this
    on Jul 13, 2026
  3. Ayush8923 commented on Jul 13, 2026

    @Ayush8923
    Collaborator

    I rechecked this issue, and it no longer exists. Now, whenever a user logs out from any screen, they are automatically redirected to the default /chat page, so we don’t need to handle this separately anymore. additionally, unauthenticated users are no longer able to access protected routes.

    This behavior was already fixed in the following PR: #243

  4. moved this from To Do to Closed in Kaapi-devon Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

  • Status
    Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions