Skip to content
Snippets Groups Projects
Verified Commit 6859eb7b authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: acm

parent 16d00905
No related branches found
No related tags found
2 merge requests!8Release 0.2,!7F acm
Pipeline #16777 passed with warnings
......@@ -204,13 +204,19 @@ enum UserStatus {
USER_STATUS_ACTIVE = 2;
}
// EmailSetting - it is handy to have this as a separate message b/c otherwise we could not distinguish between empty string and unset email.
// PasswordSetting - it is handy to have this as a separate message b/c otherwise we could not distinguish between empty string and an unspecified password.
message PasswordSetting {
// The password
string password = 1;
}
// EmailSetting - it is handy to have this as a separate message b/c otherwise we could not distinguish between empty string and an unspecified email.
message EmailSetting {
// The email adress
string email = 1;
}
// EntitySetting - it is handy to have this as a separate message b/c otherwise we could not distinguish between empty string and unset email.
// EntitySetting - it is handy to have this as a separate message b/c otherwise we could not distinguish between empty string and an unspecified entity.
message EntitySetting {
// The entity which represents this user (e.g. a Person or Device Record).
string entity_id = 1;
......@@ -255,7 +261,7 @@ message CreateSingleUserRequest {
// The new user.
User user = 1;
// The new password.
string password = 2;
PasswordSetting password_setting = 2;
}
// Response message for the CreateSingeUser RPC
......@@ -311,8 +317,8 @@ message RetrieveSingleUserResponse {
message UpdateSingleUserRequest {
// The new user.
User user = 1;
// The new password. Password will not be updated when this is empty.
string password = 2;
// The new password. Password will not be updated when this is unset.
PasswordSetting password_setting = 2;
}
// Response message for the UpdateSingleUser RPC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment