feat(console): getuserbyid, fix password policy validation, read iam (#233)

* remove displayname, show policy desc on patternerr

* provide password complexity string, org create

* user getuserbyid in userdetail, remove displayname

* show multiple org domains

* show zitadel project warnings, read iam

* add missing ngondestroy impl
This commit is contained in:
Max Peintner
2020-06-17 14:30:21 +02:00
committed by GitHub
parent 1c59d18fee
commit 4688543d07
44 changed files with 8307 additions and 770 deletions
+16 -12
View File
@@ -20,11 +20,15 @@ import {
UpdateUserPhoneRequest,
UpdateUserProfileRequest,
UserAddress,
UserAddressView,
UserEmail,
UserEmailView,
UserGrantSearchRequest,
UserGrantSearchResponse,
UserPhone,
UserPhoneView,
UserProfile,
UserProfileView,
UserSessionViews,
VerifyMfaOtp,
VerifyMyUserEmailRequest,
@@ -67,8 +71,8 @@ export class AuthServiceClient {
request: google_protobuf_empty_pb.Empty,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.Error,
response: UserProfile) => void
): grpcWeb.ClientReadableStream<UserProfile>;
response: UserProfileView) => void
): grpcWeb.ClientReadableStream<UserProfileView>;
updateMyUserProfile(
request: UpdateUserProfileRequest,
@@ -81,8 +85,8 @@ export class AuthServiceClient {
request: google_protobuf_empty_pb.Empty,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.Error,
response: UserEmail) => void
): grpcWeb.ClientReadableStream<UserEmail>;
response: UserEmailView) => void
): grpcWeb.ClientReadableStream<UserEmailView>;
changeMyUserEmail(
request: UpdateUserEmailRequest,
@@ -109,8 +113,8 @@ export class AuthServiceClient {
request: google_protobuf_empty_pb.Empty,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.Error,
response: UserPhone) => void
): grpcWeb.ClientReadableStream<UserPhone>;
response: UserPhoneView) => void
): grpcWeb.ClientReadableStream<UserPhoneView>;
changeMyUserPhone(
request: UpdateUserPhoneRequest,
@@ -137,8 +141,8 @@ export class AuthServiceClient {
request: google_protobuf_empty_pb.Empty,
metadata: grpcWeb.Metadata | undefined,
callback: (err: grpcWeb.Error,
response: UserAddress) => void
): grpcWeb.ClientReadableStream<UserAddress>;
response: UserAddressView) => void
): grpcWeb.ClientReadableStream<UserAddressView>;
updateMyUserAddress(
request: UpdateUserAddressRequest,
@@ -233,7 +237,7 @@ export class AuthServicePromiseClient {
getMyUserProfile(
request: google_protobuf_empty_pb.Empty,
metadata?: grpcWeb.Metadata
): Promise<UserProfile>;
): Promise<UserProfileView>;
updateMyUserProfile(
request: UpdateUserProfileRequest,
@@ -243,7 +247,7 @@ export class AuthServicePromiseClient {
getMyUserEmail(
request: google_protobuf_empty_pb.Empty,
metadata?: grpcWeb.Metadata
): Promise<UserEmail>;
): Promise<UserEmailView>;
changeMyUserEmail(
request: UpdateUserEmailRequest,
@@ -263,7 +267,7 @@ export class AuthServicePromiseClient {
getMyUserPhone(
request: google_protobuf_empty_pb.Empty,
metadata?: grpcWeb.Metadata
): Promise<UserPhone>;
): Promise<UserPhoneView>;
changeMyUserPhone(
request: UpdateUserPhoneRequest,
@@ -283,7 +287,7 @@ export class AuthServicePromiseClient {
getMyUserAddress(
request: google_protobuf_empty_pb.Empty,
metadata?: grpcWeb.Metadata
): Promise<UserAddress>;
): Promise<UserAddressView>;
updateMyUserAddress(
request: UpdateUserAddressRequest,