8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 10:03:03 +01:00

Removed ANY keyword in DDL REVOKE permission statements for DATABASE

This commit is contained in:
roman-simakov 2014-08-29 11:15:50 +00:00
parent 8a7b9b1b2c
commit 760d7b55dc

View File

@ -1101,6 +1101,14 @@ revoke0($node)
$node->grantor = $6;
$node->isDdl = true;
}
| rev_grant_option db_ddl_privileges(NOTRIAL(&$node->privileges)) DATABASE
FROM non_role_grantee_list(NOTRIAL(&$node->users)) granted_by
{
$node->object = newNode<GranteeClause>(obj_database, get_object_name(obj_database));
$node->grantAdminOption = $1;
$node->grantor = $6;
$node->isDdl = true;
}
| rev_admin_option role_name_list(NOTRIAL(&$node->roles))
FROM role_grantee_list(NOTRIAL(&$node->users)) granted_by
{