grantPermissionDirectory
public GrantPermissionDirectoryResponse grantPermissionDirectory(GrantPermissionDirectoryRequest request) throws GPUdbException [DEPRECATED—please usegrantPermissioninstead] Grants a KiFS directory-level permission to 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.grantPermissionDirectory
public GrantPermissionDirectoryResponse grantPermissionDirectory(String name, String permission, String directoryName, Map<String, String> options) throws GPUdbException [DEPRECATED—please usegrantPermissioninstead] Grants a KiFS directory-level permission to a user or role.Parameters:name- Name of the user or role to which the permission will be granted. Must be an existing user or role.permission- Permission to grant to 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 grants access. An empty directory name grants access to all KiFS directories.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.