mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-22 21:08:47 +00:00
chore: Service Account Naming Consistency (#11557)
# Which Problems Are Solved Inconsistent naming of service account, found in the following variations: - Machine User - machine user - Service User - Machine Account - Technical Account - User: Type Machine # How the Problems Are Solved Attentive search and replace. Localizations have been translated using Copilot # Additional Changes Some unused methods have been removed from the Go code. # Additional Context - Closes #11285
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@
|
||||
"human": null,
|
||||
"machine": {
|
||||
"name": "tests",
|
||||
"description": "My test service user"
|
||||
"description": "My test service account"
|
||||
}
|
||||
},
|
||||
"org": {
|
||||
|
||||
@@ -236,7 +236,7 @@ func Test_UserGrantPrepares(t *testing.T) {
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "prepareUserGrantQuery machine user found",
|
||||
name: "prepareUserGrantQuery service account found",
|
||||
prepare: prepareUserGrantQuery,
|
||||
want: want{
|
||||
sqlExpectations: mockQuery(
|
||||
@@ -634,7 +634,7 @@ func Test_UserGrantPrepares(t *testing.T) {
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "prepareUserGrantsQuery one grant (machine user)",
|
||||
name: "prepareUserGrantsQuery one grant (service account)",
|
||||
prepare: prepareUserGrantsQuery,
|
||||
want: want{
|
||||
sqlExpectations: mockQueries(
|
||||
|
||||
@@ -395,7 +395,7 @@ func TestQueries_GetOIDCUserInfo(t *testing.T) {
|
||||
Human: nil,
|
||||
Machine: &Machine{
|
||||
Name: "tests",
|
||||
Description: "My test service user",
|
||||
Description: "My test service account",
|
||||
},
|
||||
},
|
||||
Org: &UserInfoOrg{
|
||||
|
||||
Reference in New Issue
Block a user