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

jshao 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 9815cc3690 [#6069] fix(docs): Fix  access-control.md (#6189)
9815cc3690 is described below

commit 9815cc3690652a7df06d070bf0b978b89755997d
Author: Lord of Abyss <[email protected]>
AuthorDate: Mon Jan 13 10:37:54 2025 +0800

    [#6069] fix(docs): Fix  access-control.md (#6189)
    
    ### What changes were proposed in this pull request?
    
    Fix the wrong document information about revoke roles from role
    
    ### Why are the changes needed?
    
    Fix: #6069
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    local test.
---
 docs/security/access-control.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/security/access-control.md b/docs/security/access-control.md
index 7e996738cb..681ec4752d 100644
--- a/docs/security/access-control.md
+++ b/docs/security/access-control.md
@@ -817,7 +817,7 @@ curl -X PUT -H "Accept: application/vnd.gravitino.v1+json" \
 
 ```java
 GravitinoClient client = ...
-Group group = client.grantRolesToGroup(Lists.newList("role1"), "group1");
+Group group = client.revokeRolesFromGroup(Lists.newList("role1"), "group1");
 ```
 
 </TabItem>

Reply via email to