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

Permissions don't work with virtual procedures' ResultSet

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • Open To Community
    • 12.0
    • Query Engine
    • None

      Teiid doesn't work with ResultSet of a virtual procedure. For example, if we have procs.testProc virtual procedure which can return two values in ResultSet: a and b and we specify a permission for one of these columns in ResultSet, the permission won't work:

              <permission>
                  <resource-name>procs.testProc.a</resource-name>
                  <allow-read>false</allow-read>
              </permission>
      

      I think it would be great to set permissions also for ResultSets of virtual procedures, so AuthorizationValidationVisitor.validateEntitlements method for a GroupSymbol, which is a procedure, should analyze also its ResultSet. At the same time permissions work for virtual views and we can set permissions for some views' columns separately.

              Unassigned Unassigned
              dalex005 Dmitrii Pogorelov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: