certmanager update

This commit is contained in:
Олег Бородин
2024-08-10 14:46:07 +02:00
parent 1cdbd2b034
commit 1314355110
13 changed files with 1200 additions and 746 deletions

View File

@@ -26,8 +26,27 @@ service Control {
rpc getAccount(getAccountParams) returns (getAccountResult) {};
rpc listAccounts(listAccountsParams) returns (listAccountsResult) {};
rpc setGrant(setGrantParams) returns (setGrantResult) {};
rpc deleteGrant(deleteGrantParams) returns (deleteGrantResult) {};
}
message setGrantParams {
string username = 1;
int64 accountID = 2;
string operation = 3;
}
message setGrantResult {
int64 grantID = 1;
}
message deleteGrantParams {
string username = 1;
int64 accountID = 2;
string operation = 3;
}
message deleteGrantResult {}
message createAccountParams {
string username = 1;
@@ -65,8 +84,16 @@ message accountShortDescr {
bool disabled = 2;
string createdAt = 3;
string updatedAt = 4;
repeated grantShortDescr grants = 5;
}
message grantShortDescr {
string operation = 1;
string createdAt = 2;
}
message getStatusParams {}
message getStatusResult {
string message = 1;