[ 
https://issues.apache.org/jira/browse/DERBY-2594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dyre Tjeldvoll updated DERBY-2594:
----------------------------------

    Attachment: derby-2594.v1.stat
                derby-2594.v1.diff

Attaching a proper patch (derby-2594.v1). suites.All and derbyall pass. Reviews 
are appreciated, as always.
(Does not include any DependencyManager tracing).

> Revoking a privilege from an SQL Object should invalidate statements 
> dependent on that object
> ---------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2594
>                 URL: https://issues.apache.org/jira/browse/DERBY-2594
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.2.1.6
>            Reporter: Dyre Tjeldvoll
>         Assigned To: Dyre Tjeldvoll
>         Attachments: derby-2594.v1.diff, derby-2594.v1.stat, 
> revoke_prelim.diff
>
>
> Revoking a privilege on a table will currently cause the 
> DependencyManager.invalidateFor() to be called on the table's 
> TablePermsDescriptor with the action=REVOKE_PRIVILEGE. However, the prepared 
> statements that refer to that table are dependents of the table's 
> TableDescriptor, but NOT its TablePermsDescriptor, so the statements are not 
> invalidated after revoke.
> This problem is currently hidden by the fact that authorization is checked on 
> every execution, but this will change when language result sets are no longer 
> reused (see DERBY-827). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to