[DEPRECATED–please use GPUdb.grant_permission() instead] Grants a KiFS directory-level permission to a user or role.
Parameters
Name of the user or role to which the permission will be granted. Must be an existing user or role.
Permission to grant to the user or role. Allowed values are:
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.
Name of the KiFS directory to which the permission grants access. An empty directory name grants access to all KiFS directories.
Optional parameters. The default value is an empty dict ( ).
Returns
A dict with the following entries–
Value of input parameter name.
Value of input parameter permission.
Value of input parameter directory_name.
Additional information.