Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5759

DDL grant with condition defaults to not a constraint

    XMLWordPrintable

Details

    • Quality Risk
    • Resolution: Done
    • Major
    • 12.3
    • None
    • Query Engine
    • None

    Description

      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.

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            rhn-engineering-shawkins Steven Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: