Skip to content

Prevent Creation Of API Token With Expiration In Past #20823

@mr1716

Description

@mr1716

NetBox version

v4.4.6

Feature type

Change to existing functionality

Proposed functionality

When users try to create an API Token with an expiration date in the past, the system should throw an error and not create the token.

Use case

Creating API Tokens with expiration dates in the past serves few to any benefits. Setting tokens with future values makes sense and has benefits.

Database changes

No response

External dependencies

No response

Metadata

Metadata

Assignees

Labels

complexity: lowRequires minimal effort to implementnetboxstatus: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions