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

Revoke combined column privileges from role failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • sql-security
    • None

    Description

      Revoke combined column privileges from role failed, but revoke the privileges seperately would succeed.

      Reproduce Steps –

      create role role1;
      create schema grantsch;
      set schema grantsch;
      create table a03tab1(col1 int, col2 int, col3 varchar(10))no partition;

      grant insert(col1,col2), select on a03tab1 to role1;

      SQL>revoke insert(col1,col2), select on a03tab1 from role1;

          • ERROR[1037] Revoke failed because of a dependent grant between authorization ID SYSTEM and authorization ID DB_ROOT [2016-08-17 10:00:20]

      >>revoke select on a03tab1 from role1;

      — SQL operation complete.
      >>revoke insert(col1,col2) on a03tab1 from role1;

      — SQL operation complete.

      Attachments

        Issue Links

          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: