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

Steven Hawkins (Jira) issues at jboss.org
Wed Jun 5 11:42:00 EDT 2019


     [ https://issues.jboss.org/browse/TEIID-5759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-5759.
-----------------------------------
    Resolution: Done


Implemented the syntax shown above, updated the docs, and added a release note about the backwards compatibility flag.

> 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
>            Priority: Major
>             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