aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/iam.proto
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2023-09-25 20:34:12 +0500
committerGitHub <noreply@github.com>2023-09-25 08:34:12 -0700
commitf8b94cac0e91660ff4dc33bb458e973b4de6523b (patch)
tree46226e5a964b65546ac299b4ad2e8cb5b7b81d0b /weed/pb/iam.proto
parentc9177c92e5b6459d15d112738b7a3862655a853f (diff)
downloadseaweedfs-f8b94cac0e91660ff4dc33bb458e973b4de6523b.tar.xz
seaweedfs-f8b94cac0e91660ff4dc33bb458e973b4de6523b.zip
[s3acl] Step1: move s3account.AccountManager into to iam.S3ApiConfiguration (#4859)
* move s3account.AccountManager into to iam.S3ApiConfiguration and switch to Interface https://github.com/seaweedfs/seaweedfs/issues/4519 * fix: test bucket acl default and adjust the variable names * fix: s3 api config test --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Diffstat (limited to 'weed/pb/iam.proto')
-rw-r--r--weed/pb/iam.proto9
1 files changed, 8 insertions, 1 deletions
diff --git a/weed/pb/iam.proto b/weed/pb/iam.proto
index 1a6027292..99bb65ef2 100644
--- a/weed/pb/iam.proto
+++ b/weed/pb/iam.proto
@@ -16,13 +16,14 @@ service SeaweedIdentityAccessManagement {
message S3ApiConfiguration {
repeated Identity identities = 1;
+ repeated Account accounts = 2;
}
message Identity {
string name = 1;
repeated Credential credentials = 2;
repeated string actions = 3;
- string accountId = 4;
+ Account account = 4;
}
message Credential {
@@ -32,6 +33,12 @@ message Credential {
// bool is_disabled = 4;
}
+message Account {
+ string id = 1;
+ string display_name = 2;
+ string email_address = 3;
+}
+
/*
message Policy {
repeated Statement statements = 1;