Dragonfly2
Dragonfly2 copied to clipboard
Support creation of default personal access tokens
Feature request:
We need to achieve automation, dragonfly is used as middleware, and after successful installation, a preheating task is created through the API.We want dragonfly to provide default tokens
Use case:
use external script ?
INSERT INTO public.personal_access_token (id, created_at, updated_at, is_del, name, bio, token, scopes, state, expired_at, user_id)
VALUES (1, '2023-10-13 08:39:06.171754', '2023-10-16 09:12:00.707783', 0, 1, 'dragonfly-default', 'OWNkOGQyNWEtNGVhZi00YWMyLWEzNmEtMIM1ZjAwZTdjY2Zm', '["preheat","job","cluster"]', 'active', '2033-10-13 09:11:48.872', 1);
UI Example:
@clcc2019 Can it be converted into English?
Will not support. Because create the default PAT can cause security problems.