Uploaded image for project: 'Apache Trafodion'
  1. Apache Trafodion
  2. TRAFODION-1882

Column Privilege: a user can grant column privilege to others when the user doesn't have privilege on the column

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sql-security
    • Labels:
      None

      Description

      dbroot:
      SQL> grant select(a), delete,insert(a), update(a) on t1 to user2 with grant option;
      — SQL operation complete.

      User2:
      qi_mxci2> set schema my_sec_test;
      — SQL operation complete.

      qi_mxci2> grant select(a), delete on t1 to user5;
      — SQL operation complete.

      qi_mxci2> grant select(b) on t1 to user5;
      — SQL operation complete.

      user2 doesn’t have select privilege on column b but can grant the privilege to other user. It should get ERROR[4481] here.

        Attachments

          Activity

            People

            • Assignee:
              rmarton Roberta Marton
              Reporter:
              rachelgao Gao, Rui-Xian
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: