Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • N nm.debian.org
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Debian New Member Process
  • nm.debian.org
  • Issues
  • #26
Closed
Open
Issue created Apr 29, 2020 by Mattia Rizzolo@mattiaOwner0 of 4 checklist items completed0/4 checklist items

make identity.last_used nullable and mark all debsso as last_used = NULL

Currenly all debsso identity are marked as last_used = 2020-04-15, which was the date the model was migrated and django set that value automatically.

To do:

  • make last_used nullable
  • remove the auto_now_whatever flag from the field, so it's not set to the current date on creation
  • update the middleware to keep the field properly updated

While looking at it, it was discovered that the field is only correctly managed by the OIDC provider, so:

  • move the last_used handling to a Provider hook, so each identity provider can handle it properly.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking