[DEPRECATED–please use GPUdb.grant_permission() instead] Grants a credential-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:
credential_admin – Full read/write and administrative access on the credential.
credential_read – Ability to read and use the credential.
Name of the credential on which the permission will be granted. Must be an existing credential, or an empty string to grant access on all credentials.
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 credential_name.
Additional information.