diff --git a/console/src/constants/annotations.ts b/console/src/constants/annotations.ts index c3c16a56f91..76ae27bab3a 100644 --- a/console/src/constants/annotations.ts +++ b/console/src/constants/annotations.ts @@ -18,3 +18,8 @@ export enum rbacAnnotations { export enum contentAnnotations { PREFERRED_EDITOR = "content.halo.run/preferred-editor", } + +// pat +export enum patAnnotations { + ACCESS_TOKEN = "security.halo.run/access-token", +} diff --git a/console/src/modules/system/users/components/PersonalAccessTokenCreationModal.vue b/console/src/modules/system/users/components/PersonalAccessTokenCreationModal.vue index f2128ef2818..679f434eb97 100644 --- a/console/src/modules/system/users/components/PersonalAccessTokenCreationModal.vue +++ b/console/src/modules/system/users/components/PersonalAccessTokenCreationModal.vue @@ -1,10 +1,13 @@