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

Revoking privileges from role not invoking query invalidation

    XMLWordPrintableJSON

Details

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

    Description

      Privilege information is cached. When a revoke is performed, query invalidation occurs. Query invalidation sends the revoke operation to RMS and each executor process checks for keys. If the key affect cache, the cache entry is refreshed.

      Query invalidation keys are not be created for revoke privileges from roles.

      Create a table
      create a role
      grant select, insert on table to role;
      grant role to user1.

      as user1, select and insert into table

      in another session, revoke insert from role

      user1 should no longer be able to insert

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: