From 9815cc3690652a7df06d070bf0b978b89755997d Mon Sep 17 00:00:00 2001 From: Lord of Abyss <103809695+Abyss-lord@users.noreply.github.com> Date: Mon, 13 Jan 2025 10:37:54 +0800 Subject: [PATCH] [#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 7e996738cb6..681ec4752d5 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"); ```