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

Temp table permissions can be confusing

XMLWordPrintable

    • Icon: Quality Risk Quality Risk
    • Resolution: Done
    • Icon: Major Major
    • 7.4.1, 7.6
    • 7.4
    • Query Engine
    • None

      The checking of temptable permissions currently returns the first non-null permission from the role set. This is different than the additive behavior of all other permissions. It means that setting a role to explicitly not be able to create temp tables may inappropriately deny a user from creating temp tables if a later role explicitly grants the permission.

      The permission determination logic should be:
      if any role allows
      return allow
      if any role doesn't allow
      return not allowed
      return the allowCreateTempTablesByDefault setting

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

                Created:
                Updated:
                Resolved: