mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Backport CORE-5753: Parser allows to use GRANT OPTION for FUNCTION and PACKAGE.
This commit is contained in:
parent
b1ad3c8dcb
commit
e510566160
@ -11040,6 +11040,14 @@ void GrantRevokeNode::grantRevoke(thread_db* tdbb, jrd_tra* transaction, const G
|
||||
ERRD_post(Arg::Gds(isc_dsql_cant_grant_option) << Arg::Str("views"));
|
||||
break;
|
||||
|
||||
case obj_udf:
|
||||
ERRD_post(Arg::Gds(isc_dsql_cant_grant_option) << Arg::Str("functions"));
|
||||
break;
|
||||
|
||||
case obj_package_header:
|
||||
ERRD_post(Arg::Gds(isc_dsql_cant_grant_option) << Arg::Str("packages"));
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user