Skip to content

feat: add row-level security proto APIs#628

Open
aoiasd wants to merge 1 commit into
milvus-io:masterfrom
aoiasd:rls-merge-proto
Open

feat: add row-level security proto APIs#628
aoiasd wants to merge 1 commit into
milvus-io:masterfrom
aoiasd:rls-merge-proto

Conversation

@aoiasd

@aoiasd aoiasd commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Issue

What

  • Add row-level security row policy APIs, including UpdateRowPolicy.
  • Add RLS principal tag APIs for set/get/list/delete.
  • Add rls_principal and skip_rls request fields for insert, upsert, delete, search, hybrid search, and query.
  • Add PrivilegeSkipRLS and RLS message types.
  • Regenerate Go proto bindings.

Notes

  • SearchRequest uses field numbers 25/26 for RLS fields to avoid the existing function_chains = 24.
  • HybridSearchRequest uses field numbers 16/17 for RLS fields to avoid the existing function_chains = 15.

Verification

  • make generate-proto
  • git diff --check
  • (cd go-api && go test ./...)

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
@sre-ci-robot
sre-ci-robot requested review from czs007 and nameczz July 2, 2026 09:32
@sre-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: aoiasd
To complete the pull request process, please assign zhengbuqian after the PR has been reviewed.
You can assign the PR to them by writing /assign @zhengbuqian in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mergify mergify Bot added the dco-passed DCO check passed. label Jul 2, 2026
@mergify

mergify Bot commented Jul 2, 2026

Copy link
Copy Markdown

@aoiasd Please associate the related issue to the body of your Pull Request. (eg. “issue: #6534”)

@mergify

mergify Bot commented Jul 2, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants