Skip to content

Commit

Permalink
Correct GRANT ROLES syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessie212 authored and mosabua committed Oct 23, 2023
1 parent eeb3f68 commit ccd79be
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/src/main/sphinx/sql/grant-roles.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# GRANT ROLES
# GRANT role

## Synopsis

```text
GRANT role [, ...]
TO ( user | USER user | ROLE role) [, ...]
GRANT role_name [, ...]
TO ( user | USER user_mame | ROLE role_name) [, ...]
[ GRANTED BY ( user | USER user | ROLE role | CURRENT_USER | CURRENT_ROLE ) ]
[ WITH ADMIN OPTION ]
[ IN catalog ]
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/sphinx/sql/grant.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GRANT
# GRANT privilege

## Synopsis

Expand Down
4 changes: 2 additions & 2 deletions docs/src/main/sphinx/sql/revoke-roles.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# REVOKE ROLES
# REVOKE role

## Synopsis

```text
REVOKE
[ ADMIN OPTION FOR ]
role [, ...]
role_name [, ...]
FROM ( user | USER user | ROLE role) [, ...]
[ GRANTED BY ( user | USER user | ROLE role | CURRENT_USER | CURRENT_ROLE ) ]
[ IN catalog ]
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/sphinx/sql/revoke.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# REVOKE
# REVOKE privilege

## Synopsis

Expand Down

0 comments on commit ccd79be

Please sign in to comment.