void function ( ) { inputTabHierarcyList . add ( buildObjectHierarchy ( SERVER1 , CUSTOMER_DB , PURCHASES_TAB ) ) ; testAuth . authorize ( HiveOperation . QUERY , queryPrivileges , ANALYST_SUBJECT , inputTabHierarcyList , outputTabHierarcyList ) ; }
validate read permission for admin on customer : purchase concode_field_sep Subject NO_SUCH_SUBJECT concode_elem_sep List<List<Authorizable>> outputTabHierarcyList concode_elem_sep String RESOURCE_PATH concode_elem_sep String JUNIOR_ANALYST_DB concode_elem_sep HiveAuthzPrivileges loadTabPrivileges concode_elem_sep HiveConf hiveConf concode_elem_sep HiveAuthzConf authzConf concode_elem_sep HiveAuthzPrivileges createDbPrivileges concode_elem_sep HiveAuthzPrivileges createTabPrivileges concode_elem_sep String ANALYST_DB concode_elem_sep Subject JUNIOR_ANALYST_SUBJECT concode_elem_sep String CUSTOMER_DB concode_elem_sep HiveAuthzPrivileges queryPrivileges concode_elem_sep File baseDir concode_elem_sep String SERVER1 concode_elem_sep HiveAuthzPrivileges createFuncPrivileges concode_elem_sep Subject ADMIN_SUBJECT concode_elem_sep List<List<Authorizable>> inputTabHierarcyList concode_elem_sep HiveAuthzBinding testAuth concode_elem_sep Subject MANAGER_SUBJECT concode_elem_sep String PURCHASES_TAB concode_elem_sep String PAYMENT_TAB concode_elem_sep Subject ANALYST_SUBJECT concode_field_sep void testValidateCreateTabPrivilegesRejectionForUser2 concode_elem_sep void testValidateLoadTabPrivilegesForUser concode_elem_sep void testImpersonationRestriction concode_elem_sep void testValidateLoadTabPrivilegesRejectionForUser concode_elem_sep void testValidateCreateTabPrivilegesRejectionForUser concode_elem_sep void testValidateLoadTabPrivilegesForAdmin concode_elem_sep void testValidateCreateDbRejectionForUser concode_elem_sep void testImpersonationAllowed concode_elem_sep void testValidateCreateFunctionAppropiateURI concode_elem_sep void testValidateCreateFunctionRejectionForUserWithoutURI concode_elem_sep void testValidateCreateDbForAdmin concode_elem_sep List<Authorizable> buildObjectHierarchy concode_elem_sep void testValidateCreateTabPrivilegesForAdmin concode_elem_sep void testValidateSelectPrivilegesRejectionForUsers concode_elem_sep void setUp concode_elem_sep void testValidateCreateTabPrivilegesForUser concode_elem_sep void testValidateSelectPrivilegesForAdmin concode_elem_sep void teardown concode_elem_sep void testValidateCreateFunctionForAdmin concode_elem_sep void testValidateCreateFunctionRejectionForUnknownUser