roryqi commented on code in PR #10736:
URL: https://github.com/apache/gravitino/pull/10736#discussion_r3071277483


##########
docs/security/access-control.md:
##########
@@ -1197,9 +1197,9 @@ You can set the owner of a metadata object.
 ```shell
 curl -X PUT -H "Accept: application/vnd.gravitino.v1+json" \
 -H "Content-Type: application/json" -d '{
-    "name": "user1",
+    "name": "${user}",
     "type": "USER"
-}' 
http://localhost:8090/api/metalakes/test/owners/table/catalog1.schema1.table1
+}' 
http://localhost:8090/api/metalakes/${metalake}/owners/table/${metadataObjectName}

Review Comment:
   Hi, I think we don't need to modify so many places. We can add above command 
using variable placeholdsers the example
   ```
   The request path for REST API is 
`/api/metalakes/${metalake}/owners/{metadataObjectType}/${metadataObjectName}/`.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to