This is an automated email from the ASF dual-hosted git repository.
roryqi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 927e107ee2 [#10041] fix(docs): Fix migration guide doc: the curl
command `set the owner` is incorrect (#10061)
927e107ee2 is described below
commit 927e107ee2263fa643ffd22b76b734f746f815b9
Author: Danhua Wang <[email protected]>
AuthorDate: Fri Feb 27 15:40:25 2026 +0800
[#10041] fix(docs): Fix migration guide doc: the curl command `set the
owner` is incorrect (#10061)
### What changes were proposed in this pull request?
Fix migration guide doc: the curl command `set the owner` is incorrect
### Why are the changes needed?
Fix: #10041
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
N/A
---
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 854421773a..1724cdde07 100644
--- a/docs/security/access-control.md
+++ b/docs/security/access-control.md
@@ -514,9 +514,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>