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

[DEPRECATED–please use GPUdb.revoke_permission() instead] Revokes a system-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:

  • system_admin – Full access to all data and system functions.

  • system_user_admin – Access to administer users and roles that do not have system_admin permission.

  • system_write – Read and write access to all tables.

  • system_read – Read-only access to all tables.

  • system_send_alert – Send system alerts.

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.

info (dict of str to str) –

Additional information.