Skip to content

Keep profile role display consistent with Django staff and superuser privileges #25

Description

@tystar86

Imported from Linear: TYS-166

Source: docs/developers/START_HERE.md## Common Pitfalls

A Django is_staff or is_superuser account is privileged on the backend even if Profile.role still says user, which can make UI role badges misleading.

Goal:

  • Reduce confusion between backend authorization and displayed profile role state.
  • Decide whether to sync these values automatically, surface the distinction in the UI, or both.

Acceptance ideas:

  • Privileged accounts are not shown as ordinary users in ways that mislead contributors or testers.
  • The relationship between Django auth flags and Profile.role is explicit.

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