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

DDL grant with condition defaults to not a constraint

    Details

    • Type: Quality Risk
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 12.3
    • Component/s: Query Engine
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shawkins Steven Hawkins
                Reporter:
                shawkins Steven Hawkins
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: