[teiid-issues] [JBoss JIRA] (TEIID-5759) DDL grant with condition defaults to not a constraint

Steven Hawkins (Jira) issues at jboss.org
Mon Jun 3 22:49:00 EDT 2019


Steven Hawkins created TEIID-5759:
-------------------------------------

             Summary: DDL grant with condition defaults to not a constraint
                 Key: TEIID-5759
                 URL: https://issues.jboss.org/browse/TEIID-5759
             Project: Teiid
          Issue Type: Quality Risk
          Components: Query Engine
            Reporter: Steven Hawkins
            Assignee: Steven Hawkins
             Fix For: 12.3


Converting from an xml vdb to a ddl will not correctly convey the isConstraint flag for permissions as it default to false for ddl vdbs even if it is null in the xml form.

One solution is a breaking change to the syntax:

<CONDITION> [[<NOT>] <CONSTRAINT>]

that will capture null, false, and true values.  Such that omitting the clause would mean that the condition is a constraint - which is the opposite of the ddl behavior currently.  A switch could be introduced that would allow for the old default, should it be needed.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the teiid-issues mailing list