Skip to content

Allow support users to archive/unarchive organizations - #2389

Open
nikhilb4a wants to merge 7 commits into
mainfrom
nikhil/2104-archive-organizations
Open

Allow support users to archive/unarchive organizations#2389
nikhilb4a wants to merge 7 commits into
mainfrom
nikhil/2104-archive-organizations

Conversation

@nikhilb4a

@nikhilb4a nikhilb4a commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Overview

Closes #2104

Outdated organizations, such as the CA orgs, fill up the space on the Support Tools Org list. When support is logging in to different orgs multiples times a day, this is an unnessary slowdown. Especially given there are only ~10 active customers alongside some valid sandboxes, there is no need to have such a long list.

This PR adds the ability to archive organizations, preventing users from that org from logging in if that is there only org through check_access checks. Support users can archive, view archived orgs, and unarchive orgs.

The core change is adding an archivedAt field to an organization, along with a simple API to read/update it.

Screenshot

Screen.Recording.2026-08-26.at.6.18.26.PM.mov
Screen.Recording.2026-08-26.at.6.27.48.PM.mov

Edge case - If an audit admin is logged in when an org is archived or a support user logs in as a user belonging to an archived org, they see the following. Note: Added some padding above "All Audits" post screen recording

nikhilb4a and others added 2 commits August 25, 2026 23:48
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@nikhilb4a
nikhilb4a force-pushed the nikhil/2104-archive-organizations branch from 4ea1e11 to 9727d6e Compare August 27, 2026 01:34
nikhilb4a and others added 5 commits August 27, 2026 18:34
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…rictions

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ganizations

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@nikhilb4a
nikhilb4a force-pushed the nikhil/2104-archive-organizations branch from 9727d6e to 8010d43 Compare August 27, 2026 18:36
@nikhilb4a
nikhilb4a requested a review from kshen0 August 27, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Tools: Ability to archive organizations

1 participant