Skip to content

Conversation

ewdurbin
Copy link
Member

@ewdurbin ewdurbin commented Sep 5, 2025

Organizations features are now fully deployed and no longer need feature flag gating. This removes all DISABLE_ORGANIZATIONS flag checks and related infrastructure.

🤖 Generated with Claude Code

Organizations features are now fully deployed and no longer need
feature flag gating. This removes all DISABLE_ORGANIZATIONS flag
checks and related infrastructure.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@ewdurbin ewdurbin requested a review from a team as a code owner September 5, 2025 09:20
@ewdurbin ewdurbin changed the title fRemove all organization feature flag gating Remove all organization feature flag gating Sep 5, 2025
Copy link
Member

@miketheman miketheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks generally good.

There's some leftovers in tests that I think won't be necessary any more, for example https://github.com/pypi/warehouse/pull/18638/files#diff-62c21c73d9a012104a029f268b8102f3f475fe63f8387afa38824b2473910fd7L123

There's also calls to it in templates, that as long as there's still utility to performing request.organization_access checks prior to other conditions, then they are probably fine to leave, but I haven't audited.

@@ -9,7 +9,6 @@


class AdminFlagValue(enum.Enum):
DISABLE_ORGANIZATIONS = "disable-organizations"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once merged, do you have a plan to remove the flag from the DB?

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.

2 participants