This is an automated email from the ASF dual-hosted git repository.

mchades 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 61c2d8788 [#5913] fix(docs): Fix the wrong shell command (#5917)
61c2d8788 is described below

commit 61c2d8788f162fe68289e6c5112a186519114cea
Author: roryqi <[email protected]>
AuthorDate: Thu Dec 19 18:17:28 2024 +0800

    [#5913] fix(docs): Fix the wrong shell command (#5917)
    
    ### What changes were proposed in this pull request?
    
    Fix the wrong shell command. We should use `roles` instead of `tags`
    
    ### Why are the changes needed?
    
    Fix: #5913
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Just documents.
---
 docs/security/access-control.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/security/access-control.md b/docs/security/access-control.md
index 6b47a2541..7e996738c 100644
--- a/docs/security/access-control.md
+++ b/docs/security/access-control.md
@@ -561,10 +561,10 @@ The request path for REST API is 
`/api/metalakes/{metalake}/objects/{metadataObj
 
 ```shell
 curl -X GET -H "Accept: application/vnd.gravitino.v1+json" \
-http://localhost:8090/api/metalakes/test/objects/catalog/catalog1/tags
+http://localhost:8090/api/metalakes/test/objects/catalog/catalog1/roles
 
 curl -X GET -H "Accept: application/vnd.gravitino.v1+json" \
-http://localhost:8090/api/metalakes/test/objects/schema/catalog1.schema1/tags
+http://localhost:8090/api/metalakes/test/objects/schema/catalog1.schema1/roles
 ```
 
 </TabItem>

Reply via email to