mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-09 07:35:13 +00:00
chore(docs): User (Human) naming consistency (#11512)
# Which Problems Are Solved Naming inconsistencies - User (Human) # How the Problems Are Solved Most of the occurrences have not been changed. `User (Human)` was mostly changed when talking about code objects and where I felt it was necessary to distinguish them from machine users. When both human and machine user occurrences were found, the machine user has been changed to service account (see https://github.com/zitadel/zitadel/issues/11285) # Additional Context - Closes #11284 --------- Co-authored-by: Wim Van Laer <[email protected]>
This commit is contained in:
@@ -157,7 +157,7 @@ func AddInstancePbToSetupInstance(req *system_pb.AddInstanceRequest, defaultInst
|
||||
}
|
||||
|
||||
if defaultInstance.Org.Human != nil {
|
||||
// used to not overwrite the default human later
|
||||
// used to not overwrite the default User (human) later
|
||||
humanCopy := *defaultInstance.Org.Human
|
||||
instance.Org.Human = &humanCopy
|
||||
} else {
|
||||
|
||||
@@ -446,7 +446,7 @@ func TestServer_ListUsers(t *testing.T) {
|
||||
},
|
||||
}
|
||||
}(),
|
||||
want: &user.ListUsersResponse{ // human user should return itself when calling ListUsers() even if it has no permissions
|
||||
want: &user.ListUsersResponse{ // User (Human) should return itself when calling ListUsers() even if it has no permissions
|
||||
Details: &object.ListDetails{
|
||||
TotalResult: 1,
|
||||
Timestamp: timestamppb.Now(),
|
||||
|
||||
@@ -441,7 +441,7 @@ func TestServer_ListUsers(t *testing.T) {
|
||||
},
|
||||
}
|
||||
}(),
|
||||
want: &user_v2beta.ListUsersResponse{ // human user should return itself when calling ListUsers() even if it has no permissions
|
||||
want: &user_v2beta.ListUsersResponse{ // User (Human) should return itself when calling ListUsers() even if it has no permissions
|
||||
Details: &object_v2beta.ListDetails{
|
||||
TotalResult: 1,
|
||||
Timestamp: timestamppb.Now(),
|
||||
|
||||
@@ -185,7 +185,7 @@ func userInfoToOIDC(user *query.OIDCUserInfo, userInfoAssertion bool, scope []st
|
||||
if !userInfoAssertion {
|
||||
continue
|
||||
}
|
||||
// TODO: handle address for human users as soon as implemented
|
||||
// TODO: handle address for Users (Humans) as soon as implemented
|
||||
case ScopeUserMetaData:
|
||||
setUserInfoMetadata(user.Metadata, out)
|
||||
case ScopeResourceOwner:
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
"name": "Zitadel authentication token",
|
||||
"description": "Authentication scheme using the OAuth Bearer Token Standard",
|
||||
"specUri": "https://www.rfc-editor.org/info/rfc6750",
|
||||
"documentationUri": "https://zitadel.com/docs/guides/integrate/service-users/authenticate-service-users",
|
||||
"documentationUri": "https://zitadel.com/docs/guides/integrate/service-accounts/authenticate-service-accounts",
|
||||
"type": "oauthbearertoken",
|
||||
"primary": false
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ func (h *UsersHandler) buildListQuery(ctx context.Context, request *ListRequest)
|
||||
SearchRequest: searchRequest,
|
||||
}
|
||||
|
||||
// the zitadel scim implementation only supports humans for now
|
||||
// the zitadel scim implementation only supports User (Humans) for now
|
||||
userTypeQuery, err := query.NewUserTypeSearchQuery(domain.UserTypeHuman)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user