Skip to content

Commit

Permalink
[#6069] fix(docs): Fix access-control.md (#6199)
Browse files Browse the repository at this point in the history
### 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 <[email protected]>
  • Loading branch information
github-actions[bot] and Abyss-lord authored Jan 13, 2025
1 parent 60eb1c4 commit 51c70f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/security/access-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 51c70f4

Please sign in to comment.