fix(import): add import for app and machine keys (#4536)

* fix(import): add import for app and machine keys

* fix(export): add review changes

* fix(import): Apply suggestions from code review

Co-authored-by: Livio Spring <livio.a@gmail.com>

* fix(import): add review changes

Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Stefan Benz
2022-10-18 16:07:30 +01:00
committed by GitHub
parent 3270a94291
commit 556f381a5a
18 changed files with 648 additions and 131 deletions

View File

@@ -86,6 +86,7 @@ Errors:
Machine:
Key:
NotFound: 未找到机器密钥
AlreadyExisting: 已有的机器钥匙
PAT:
NotFound: 未找到个人访问令牌
NotHuman: 用户必须是个人
@@ -259,6 +260,9 @@ Errors:
APIAuthMethodNoSecret: 选择的 API 身份验证方法不需要秘钥
AuthMethodNoPrivateKeyJWT: 选择的身份验证方法不需要 Key
ClientSecretInvalid: Client Secret 无效
Key:
AlreadyExisting: 已经存在的应用钥匙
NotFound: 未找到应用钥匙
RequiredFieldsMissing: 缺少一些必填字段
Grant:
AlreadyExists: 项目授权已存在