Skip to content

Conversation

@njnu-seafish
Copy link
Contributor

Purpose of the pull request

close #17874

Brief change log

Remove the default value of expireTime and let the user choose the time

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

Pull Request Notice

Pull Request Notice

If your pull request contains incompatible change, you should also add it to docs/docs/en/guide/upgrade/incompatible.md

@github-actions github-actions bot added the UI ui and front end related label Jan 27, 2026
Copy link
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm +0 on this. Waiting for other's opinions.

@SbloodyS SbloodyS changed the title [Improvement-17874][ApiServer]Remove the default value of expireTime and let the user choose the time [Improvement-17874][ApiServer] Remove the default value of expireTime and let the user choose the time Jan 27, 2026
@njnu-seafish
Copy link
Contributor Author

I'm +0 on this. Waiting for other's opinions.

a customer need to create a token to call DS services and report that the token was already expired immediately after creation.

@ruanwenjun
Copy link
Member

ruanwenjun commented Jan 28, 2026

We should set the time to empty here, let user provide a validated value, the system should not provide unreasonable default values.

@njnu-seafish njnu-seafish requested a review from SbloodyS January 28, 2026 06:38
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

UI ui and front end related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement][ApiServer] When creating token, Extend the default expiration time—for example, to one month.

3 participants