Skip to content

Commit

Permalink
sql: fix the synopsis of REVOKE <privileges> (#19659) (#19666)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Dec 12, 2024
1 parent 3122536 commit 53ae27d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions sql-statements/sql-statement-revoke-privileges.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ This statement removes privileges from an existing user. Executing this statemen
## Synopsis

```ebnf+diagram
GrantStmt ::=
'GRANT' PrivElemList 'ON' ObjectType PrivLevel 'TO' UserSpecList RequireClauseOpt WithGrantOptionOpt
RevokeStmt ::=
'REVOKE' PrivElemList 'ON' ObjectType PrivLevel 'FROM' UserSpecList
PrivElemList ::=
PrivElem ( ',' PrivElem )*
Expand Down Expand Up @@ -54,10 +54,6 @@ PrivLevel ::=
UserSpecList ::=
UserSpec ( ',' UserSpec )*
RequireClauseOpt ::= ('REQUIRE' ('NONE' | 'SSL' | 'X509' | RequireListElement ('AND'? RequireListElement)*))?
RequireListElement ::= 'ISSUER' Issuer | 'SUBJECT' Subject | 'CIPHER' Cipher | 'SAN' SAN | 'TOKEN_ISSUER' TokenIssuer
```

## Examples
Expand Down

0 comments on commit 53ae27d

Please sign in to comment.