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

Allowed TRUNCATE and INSERT to partition table when the policy item is only "SELECT"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.5.3, 0.7.1
    • 0.5.3, 0.7.1
    • plugins
    • None
    • Patch

    Description

      In beeline, useraa create table hive_test, such as : CREATE TABLE hive_test(b string) PARTITIONED BY (a string); then in ranger admin UI add a policy for userbb, the policy has only "SELECT" of table hive_test; in beeline userbb execute "truncate table hive_test" / "insert into hive_test partition(a=20171003) select 1 from hive_test" is allowed.

      Attachments

        Activity

          People

            Seymour Xu Haihui Xu
            Seymour Xu Haihui Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: