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

jshao pushed a commit to branch branch-0.8
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-0.8 by this push:
     new 51c70f4602 [#6069] fix(docs): Fix  access-control.md (#6199)
51c70f4602 is described below

commit 51c70f46024a2602adc48e50f30e208b89cd2a0e
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jan 13 11:13:34 2025 +0800

    [#6069] fix(docs): Fix  access-control.md (#6199)
    
    ### 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.
    
    Co-authored-by: Lord of Abyss 
<103809695+abyss-l...@users.noreply.github.com>
---
 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