Skip to content

Do not allow expired personal access tokens to work

Max Woolf requested to merge 351962-enforce-status-of-all-pats into master

What does this MR do and why?

  • Remove the ability to allow expired Personal Access Tokens to function.
  • Remove the ability for administrators to make this decision.
  • Remove the application setting from the database.
  • Update documentation and specs.

How to set up and validate locally

  • Create a personal access token for your user account. In the rails console, set the expiration to a date in the past.
  • Attempt to use this token. It should be unauthorized.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #351962 (closed)

Edited by Huzaifa Iftikhar

Merge request reports