Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add authentication placeholders for ImportV2 #257

Merged
merged 1 commit into from
Mar 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,118 changes: 633 additions & 485 deletions go-api/milvuspb/milvus.pb.go

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions proto/milvus.proto
Original file line number Diff line number Diff line change
@@ -1850,3 +1850,33 @@ message ReplicateMessageResponse {
common.Status status = 1;
string position = 2;
}

message ImportAuthPlaceholder {
option (common.privilege_ext_obj) = {
object_type: Collection
object_privilege: PrivilegeImport
object_name_index: 1
};
string db_name = 1;
string collection_name = 2;
string partition_name = 3;
}

message GetImportProgressAuthPlaceholder {
option (common.privilege_ext_obj) = {
object_type: Collection
object_privilege: PrivilegeImport
object_name_index: 1
};
string db_name = 1;
}

message ListImportsAuthPlaceholder {
option (common.privilege_ext_obj) = {
object_type: Collection
object_privilege: PrivilegeImport
object_name_index: 1
};
string db_name = 3;
string collection_name = 1;
}