Skip to content

Clarify `max_personal_access_token_lifetime` setting behavior

Jessie Young requested to merge jy-max-pat-limit-ux into master

What does this MR do and why?

  • When blank, all new PATs will have a default max lifetime of 365.
  • Setting can be used to make this max lifetime smaller but not larger or nil.
  • Making the value smaller invalidates existing PATs. See: #387057 (comment 1384532595)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Edited by Jessie Young

Merge request reports

Loading