Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-4638

Multiple Columns Revoke not generating policies with correct number of columns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • Ranger
    • None

    Description

      Multiple Columns Revoke not generating policies with correct number of columns. E.G

      When  " revoke select(col1, col2,col3) on table demo.test from role Role3;" is done, the generate policies is not revoking the columns. Currently revoke  statement is only revoking if the is only one column.

      Testing to done"

      Impala / Hive beeline.

      1) "grant select(col1, col2, col3)  on table demo.test  to role Role1" 

           "revoke select(col1, col2, col3) on table demo.test from role Role1"

      2) "grant select(col1, col2, col3, col4)  on table demo.test  to role Role1" 

            "revoke select(col1, col2, col3) on table demo.test from role Role1"

      HBASE shell

      grant 'nifi', 'RWXCA', 'test'

      revoke 'nifi', 'test'

       

      Attachments

        Issue Links

          Activity

            People

              rmani Ramesh Mani
              rmani Ramesh Mani
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: