Unable to grant object privileges while having a non-default current_role #3365
Last updated: 2015-08-28 13:42:26 +0200
Date: 2013-09-20 23:50:56 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36
If a user has a non-default current_role that is the schema authorization for the current_schema then this user will be unable to grant object privileges on tables in the current_schema.
Steps to Reproduce:
A debugging session reveals that in sql_grant_table_privs, the grantor is set to sql->user_id whether or not "from current_role" is used in the grant command. This suggests an issue in sql_parser.y.
The GRANT syntax documentation has errors at http://www.monetdb.org/Documentation/SQLreference/Permissions.
Instead of this:
It should read this:
Also, the following should be on a new line:
Date: 2015-08-01 15:17:56 +0200
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=30d12a4105a0
Date: 2015-08-03 17:18:58 +0200
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=fa8ff2df52b2
Date: 2015-08-28 13:42:26 +0200
Jul2015 has been released.
The text was updated successfully, but these errors were encountered: