Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • sql-security
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: