[ https://issues.apache.org/jira/browse/DERBY-3743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610913#action_12610913 ]
Dag H. Wanvik commented on DERBY-3743: -------------------------------------- I should add that derby-3743 also adds the test case from the patch derby-3743-show-constraint-invalidate-actions to make sure the implementation change doesn't break the behavior. I will commit this soon if no objections. > Revoking EXECUTE privilege on a function if used in a CHECK constraint: > implementation problem > ----------------------------------------------------------------------------------------------- > > Key: DERBY-3743 > URL: https://issues.apache.org/jira/browse/DERBY-3743 > Project: Derby > Issue Type: Improvement > Components: Security, SQL > Affects Versions: 10.5.0.0 > Reporter: Dag H. Wanvik > Assignee: Dag H. Wanvik > Attachments: derby-3743-show-constraint-invalidate-actions.diff, > derby-3743-show-constraint-invalidate-actions.stat, derby-3743.diff, > derby-3743.stat > > > The docs say that REVOKE EXECUTE ... RESTRICT should > fail if there is a dependent constraint: > "The RESTRICT clause specifies that the EXECUTE privilege cannot be > revoked if the specified routine is used in a view, trigger, or > constraint, and the privilege is being revoked from the owner of the > view, trigger, or constraint." > Revoking the privilege will be correctly restricted, but possibly for the > wrong reason. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.