PostHog / PostHog/posthog

Archived tasks leak across accounts after account switch

Open
#76,218 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature/desktop
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

Problem

Archived tasks are not scoped to the account that created them. After switching to a different account, archived tasks from the original (main) account stay visible instead of being filtered out.

Expected behavior

Archived tasks should only be shown for the account that created them. Switching to another account should show only that account's archived tasks, not those from any other account.

Steps to reproduce
  1. Sign in to the main account and archive one or more tasks.
  2. Switch to another account.
  3. Observe that the main account's archived tasks are visible under the new account.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reproducing the account switch with archived tasks, then trace the archived-task loading and account-scoping entry points. Done means switching accounts shows only tasks created by the current account, with a regression test covering the scenario.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.