Skip to content

Deprecate the current User model for authentication and authorization #4

@nanuxbe

Description

@nanuxbe

Code of Conduct

  • I agree to follow Django's Code of Conduct

Feature Description

  • Introduce a simpler User that does not have groups or permissions (as in permission model)
  • keep the abstract User model without username or email
  • start new projects with either a subclass of that base model that has basic role (user and admin could be it)
  • keep the Permission classes
  • enable the current user model as an option
  • provide an entrypoint (and simple implementation) for 2FA

Problem

For a lot of cases, the current user model is not adequate, being either too complex (project requires only "user" and "admin" roles) or too simple (no notion of record-level ownership or hierarchy). It is also missing a unified 2FA mechanism

Request or proposal

proposal

Additional Details

No response

Implementation Suggestions

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Idea refinement - Team creation - For approval

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions