Skip to content

App Modules - Consolidate User resources #73856

@markstory

Description

@markstory

User and its direct relations are control_silo scoped resources. Currently the components that comprise the control silo aspects of users are spread throughout the repository. Consolidating those classes and functions into sentry.users will help clarify the application's design and make running subsets of tests easier and faster.

  • Communicate these changes with the broader ecosystem team
  • Move endpoints, serializers, models, and tasks to be co-located.

We'll need to provide import shims for any symbols used in getsentry until those imports can be updated separately. Furthremore, within django shell we should preserve sentry.models.User as an import.

cc @Christinarlong

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions