revokePermissionDirectory
public RevokePermissionDirectoryResponse revokePermissionDirectory(RevokePermissionDirectoryRequest request) throws GPUdbException [DEPRECATED—please userevokePermissioninstead] Revokes a KiFS directory-level permission from a user or role.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.revokePermissionDirectory
public RevokePermissionDirectoryResponse revokePermissionDirectory(String name, String permission, String directoryName, Map<String, String> options) throws GPUdbException [DEPRECATED—please userevokePermissioninstead] Revokes a KiFS directory-level permission from a user or role.Parameters:name- Name of the user or role from which the permission will be revoked. Must be an existing user or role.permission- Permission to revoke from the user or role. Supported values:DIRECTORY_READ: For files in the directory, access to list files, download files, or use files in server side functions.DIRECTORY_WRITE: Access to upload files to, or delete files from, the directory. A user or role with write access automatically has read access.
directoryName- Name of the KiFS directory to which the permission revokes access.options- Optional parameters. The default value is an emptyMap.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.