This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch branch-1.1
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-1.1 by this push:
new 8bd303903b [Cherry-pick to branch-1.1] [#10041] fix(docs): Fix
migration guide doc: the curl command `set the owner` is incorrect (#10061)
(#10063)
8bd303903b is described below
commit 8bd303903b66f9e0042fdc22667e7c9f6c0e0a0c
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Feb 27 19:08:16 2026 +0800
[Cherry-pick to branch-1.1] [#10041] fix(docs): Fix migration guide doc:
the curl command `set the owner` is incorrect (#10061) (#10063)
**Cherry-pick Information:**
- Original commit: 927e107ee2263fa643ffd22b76b734f746f815b9
- Target branch: `branch-1.1`
- Status: ✅ Clean cherry-pick (no conflicts)
Co-authored-by: Danhua Wang <[email protected]>
---
docs/security/access-control.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/security/access-control.md b/docs/security/access-control.md
index b92a599eac..4a200ad095 100644
--- a/docs/security/access-control.md
+++ b/docs/security/access-control.md
@@ -505,9 +505,9 @@ Set the owner for each existing metalake using the
Gravitino API:
```shell
curl -X PUT -H "Accept: application/vnd.gravitino.v1+json" \
-H "Content-Type: application/json" -d '{
- "owner": "admin1",
- "ownerType": "USER"
-}' http://localhost:8090/api/metalakes/{metalake}/owners
+ "name": "admin1",
+ "type": "USER"
+}' http://localhost:8090/api/metalakes/${metalake}/owners/metalake/${metalake}
```
</TabItem>