Skip to content

Remove callout and replace with help text for personal access tokens

Problem to solve

A callout is presented to the user when the maximum lifetime of an access token is set, which does not conform to Pajamas.

Proposal

  • Restrict the datepicker from allowing a user to pick a date later than the maximum life
  • Replace the callout with a description field
    • Add 1 day to maximum lifetime count, for example a user can create an access token for 2022-01-12
Before After no expiration After with expiration enforcement
Screenshot_2022-01-11_at_16-31-58_Personal_Access_Tokens___User_Settings Text_input Text_input-1

Implementation plan

Edited by Austin Regnery