Skip to main content
revoke_permission_directory(name=None, permission=None, directory_name=None, options=)[source]

[DEPRECATED–please use GPUdb.revoke_permission() instead] Revokes a KiFS directory-level permission from a user or role.

Parameters

name (str) –

Name of the user or role from which the permission will be revoked. Must be an existing user or role.

permission (str) –

Permission to revoke from 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.

directory_name (str) –

Name of the KiFS directory to which the permission revokes access.

options (dict of str to str) –

Optional parameters. The default value is an empty dict ( ).

Returns

A dict with the following entries–

name (str) –

Value of input parameter name.

permission (str) –

Value of input parameter permission.

directory_name (str) –

Value of input parameter directory_name.

info (dict of str to str) –

Additional information.