Browse Source

HUE-6181 [sentry] Fix scope for privilege checker test

Jenny Kim 8 years ago
parent
commit
5dce002
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/libs/libsentry/src/libsentry/test_privilege_checker.py

+ 1 - 1
desktop/libs/libsentry/src/libsentry/test_privilege_checker.py

@@ -43,7 +43,7 @@ class MockSentryApiV1(object):
       # Column INSERT
       {'column': 'column_insert', 'grantOption': False, 'timestamp': 1478810635378, 'database': 'default', 'action': 'INSERT', 'scope': 'COLUMN', 'table': 'test_column', 'URI': '', 'server': 'server1'},
       # Column SELECT
-      {'column': 'column_select', 'grantOption': False, 'timestamp': 1478810590335, 'database': 'default', 'action': 'SELECT', 'scope': 'TABLE', 'table': 'test_column', 'URI': '', 'server': 'server1'},
+      {'column': 'column_select', 'grantOption': False, 'timestamp': 1478810590335, 'database': 'default', 'action': 'SELECT', 'scope': 'COLUMN', 'table': 'test_column', 'URI': '', 'server': 'server1'},
       # Table ALL
       {'column': '', 'grantOption': False, 'timestamp': 1478810513849, 'database': 'default', 'action': 'ALL', 'scope': 'TABLE', 'table': 'test_table_all', 'URI': '', 'server': 'server1'},
       # Table INSERT