void function ( TestUser arg0 , FileSystemAction arg1 , String arg2 ) { AuthenticatedClientUser . set ( arg0 . getUser ( ) ) ; try ( LockedInodePath loc0 = sTree . lockInodePath ( new AlluxioURI ( arg2 ) , InodeTree . LockMode . READ ) ) { mPermissionChecker . checkPermission ( arg1 , loc0 ) ; } }
helper function to check user can perform action on path . concode_field_sep CreateFileOptions sNestedFileOptions concode_elem_sep String TEST_DIR_URI concode_elem_sep String TEST_FILE_URI concode_elem_sep HashMap<String,String> mUserGroups concode_elem_sep TestUser TEST_USER_ADMIN concode_elem_sep ExpectedException mThrown concode_elem_sep String mGroups concode_elem_sep CreateFileOptions sWeirdFileOptions concode_elem_sep InodeTree sTree concode_elem_sep TestUser TEST_USER_1 concode_elem_sep TestUser TEST_USER_3 concode_elem_sep PermissionStatus TEST_PERMISSION_STATUS_SUPER concode_elem_sep String TEST_SUPER_GROUP concode_elem_sep PermissionChecker mPermissionChecker concode_elem_sep TestUser TEST_USER_SUPERGROUP concode_elem_sep String TEST_NOT_EXIST_URI concode_elem_sep TemporaryFolder sTestFolder concode_elem_sep String TEST_DIR_FILE_URI concode_elem_sep CreateFileOptions sFileOptions concode_elem_sep TestUser TEST_USER_2 concode_elem_sep PermissionStatus TEST_PERMISSION_STATUS_WEIRD concode_elem_sep PermissionStatus TEST_PERMISSION_STATUS_2 concode_elem_sep PermissionStatus TEST_PERMISSION_STATUS_1 concode_elem_sep String mUser concode_elem_sep String TEST_WEIRD_FILE_URI concode_field_sep void parentCheckSuccessTest concode_elem_sep void ancestorCheckFailTest concode_elem_sep void before concode_elem_sep String getUser concode_elem_sep void checkParentOrAncestorPermission concode_elem_sep void selfCheckFailByOtherGroupTest concode_elem_sep void selfCheckSuccessTest concode_elem_sep void checkFallThroughTest concode_elem_sep void selfCheckFailBySameGroupTest concode_elem_sep void invalidPathTest concode_elem_sep void setConf concode_elem_sep void createAndSetPermission concode_elem_sep void ancestorCheckSuccessTest concode_elem_sep void verifyInodesList concode_elem_sep void fileSystemSuperGroupTest concode_elem_sep void beforeClass concode_elem_sep void createFileAndDirsTest concode_elem_sep void fileSystemOwnerTest concode_elem_sep void afterClass concode_elem_sep String getGroups concode_elem_sep List<String> getGroups concode_elem_sep void parentCheckFailTest concode_elem_sep String toExceptionMessage