Skip to content
Snippets Groups Projects

Allow token to rotate when max expiry for token is less than one week

Merged Aboobacker MK requested to merge tachyons-allow-pat-rotation-less-than-oneweek into master

What does this MR do and why?

When the tokens rotated, it takes 7 days as the default expiration time. But it fails if the instance wide settings for maxium expiration is less than 7 days. This MR address that by choosing lowest among the default duration and and maximum expiration

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.

Fixes #422928 (closed)

Edited by Aboobacker MK

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading