Description
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).
Attachments
Attachments
Issue Links
- is related to
-
DERBY-827 Performance can be improved by re-using language ResultSets across Activation executions.
- Closed
- relates to
-
DERBY-3736 Revoking a column level privilege from a user, a prepared statement relying on that privilege can still be executed
- Closed
-
DERBY-827 Performance can be improved by re-using language ResultSets across Activation executions.
- Closed