Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-2795

get indexes command fails even though user has privileges to view indexes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • sql-security
    • None

    Description

      Performing a SHOWDDL INDEX <index> for a user that has privileges to view the parent table cannot the table's indexes.

      as user with create_schema privilege:
      create schema sch1;
      set schema sch1;
      create table t1 (a int, b int, c int);
      create index ndx1 on t1(b);
      grant select on t1 to sql_user1;

      as sql_user1:
      set schema sch1;
      get tables; - returns t1
      get indexes; - should return ndx1 but returns nothing

      Attachments

        Activity

          People

            Unassigned Unassigned
            rmarton Roberta Marton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: