Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand Token functionality #18190

Open
ihumster opened this issue Dec 10, 2024 · 0 comments
Open

Expand Token functionality #18190

ihumster opened this issue Dec 10, 2024 · 0 comments
Labels
status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application

Comments

@ihumster
Copy link

NetBox version

v4.0.11

Feature type

Change to existing functionality

Triage priority

N/A

Proposed functionality

Currently, the Token model doesn't inherit CustomValidationMixin, which prevents adding Token Validation Rules to objects and extending functionality via Custom Validation Rules.

Need extend Token model with CustomValidationMixin and add configuration parameter (Dynamic I'm mean) for validate max expires lifetime

Use case

For security reasons, it is necessary to prohibit the creation of tokens:

  1. without expiration
  2. with a validity period of more than {TOKEN_EXPIRES_MAX}

Database changes

No response

External dependencies

No response

@ihumster ihumster added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant