[DEPRECATED–please use GPUdb.grant_permission() instead] Grants a system-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:
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.
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.
Additional information.