[
https://issues.apache.org/jira/browse/DERBY-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Laura Stewart updated DERBY-3133:
---------------------------------
Attachment: rrefsqljrevoke.html
rrefsqljgrant.html
derby3133_1.diff
I've made the updates to both GRANT and REVOKE.
I've attached the patch and both HTML files.
Please let me know if there is anything else to update here.
> Syntax for GRANT table permission does not mention that several privileges
> may be specified in a list
> -----------------------------------------------------------------------------------------------------
>
> Key: DERBY-3133
> URL: https://issues.apache.org/jira/browse/DERBY-3133
> Project: Derby
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 10.2.1.6, 10.2.2.0, 10.3.1.4, 10.4.0.0
> Reporter: Dag H. Wanvik
> Assignee: Laura Stewart
> Priority: Minor
> Attachments: derby3133_1.diff, rrefsqljgrant.html, rrefsqljrevoke.html
>
>
> The syntax is currently specified (in rrefsqljgrant) as:
> > GRANT privilege-type ON [TABLE] { table-Name | view-Name } TO grantees
> >
> > privilege-type
> >
> > {
> > ALL PRIVILEGES |
> > DELETE |
> > INSERT |
> > REFERENCES [column list] |
> > SELECT [column list] |
> > TRIGGER |
> > UPDATE [column list}
> > }
> Derby, however, accepts a list of privilege type (see code in
> sqlgrammar#tableActions), if the type is not "ALL PRIVILEGES".
> Furthermore, column-list is not expanded; it should be because it
> needs surrounding parentheses (i.e. it is not just a plain list).
> So, the doc for granting table permissions should read something like:
> Syntax for tables
> GRANT privilege-type ON [TABLE] { table-Name | view-Name } TO grantees
> privilege-type
> ALL PRIVILEGES |
> privilege-list
> privilege-list
> table-privilege {, table-privilege }*
> Table-privilege
>
> DELETE |
> INSERT |
> REFERENCES [column-list] |
> SELECT [column-list] |
> TRIGGER |
> UPDATE [column-list}
> column-list
> ( column-identifier {, column-identifier}* )
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.