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

WIP: delete users

parent 4e0552f3
Branches
Tags
Loading
Pipeline #16371 passed with warnings
......@@ -111,15 +111,25 @@ message RetrieveSingleRoleRequest {
message RetrieveSingleRoleResponse {
// The role.
Role role = 1;
// Known users with this role
repeated User users = 2;
}
// Request message for the <+TODO+> RPC
message UpdateSingleRoleRequest {}
// Response message for the <+TODO+> RPC
// Request message for the UpdateSingleRole RPC
message UpdateSingleRoleRequest {
// The role
Role role = 1;
}
// Response message for the UpdateSingleRole RPC
message UpdateSingleRoleResponse {}
// Request message for the <+TODO+> RPC
message DeleteSingleRoleRequest {}
// Response message for the <+TODO+> RPC
// Request message for the DeleteSingleRole RPC
message DeleteSingleRoleRequest {
// the name of the role.
string name = 1;
}
// Response message for the DeleteSingleRole RPC
message DeleteSingleRoleResponse {}
///////////////////////////////////////////
......@@ -195,13 +205,26 @@ message RetrieveSingleUserResponse {
User user = 1;
}
// Request message for the <+TODO+> RPC
message UpdateSingleUserRequest {}
// Response message for the <+TODO+> RPC
// Request message for the UpdateSingleUser RPC
message UpdateSingleUserRequest {
// The new user.
User user = 1;
// The new password. Password will not be updated when this is empty.
string password = 2;
}
// Response message for the UpdateSingleUser RPC
message UpdateSingleUserResponse {}
// Request message for the <+TODO+> RPC
message DeleteSingleUserRequest {}
// Response message for the <+TODO+> RPC
// Request message for the DeleteSingleUser RPC
message DeleteSingleUserRequest {
// The user's realm
string realm = 1;
// The user's name
string name = 2;
}
// Response message for the DeleteSingleUser RPC
message DeleteSingleUserResponse {}
///////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment