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

Create table target like source works on shared schemas where user has no priv

    XMLWordPrintableJSON

Details

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

    Description

      A user can create a table in a shared schema where they don't have any privileges on the target table.  They cannot copy the data but they can see the columns that make up the table.

      connect as sql_user1;

      create schema user1;

      set schema user1;

      create table t1 (...);

      insert some rows

      Connect as sql_user2

      set schema to seabase

      create table seabase.t1 like user1.t1; -> succeeds where it shouldn't

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: