On 02/20/18 15:19, Dimitry Sibiryakov wrote:
20.02.2018 13:14, Alex Peshkoff via Firebird-devel wrote:
2) We have no check of existance a subjects of privileges. I.e.
SQL> create table t(i integer);
SQL> grant select on t to wrong_func;
SQL> show function wrong_func;
There is no user-defined function WRONG_FUNC in this database
I tend to consider it as a bug to be fixed. Am I right?
Definitely yes.
Do you suggest to remove defaulting of subject type to "USER" and
require explicit type name in all cases?
Always requiring object type is best of possible solutions but I'm
afraid that's unreal.
I've supposed missing keyword, i.e. real failing statement is:
grant select on t to FUNCTION wrong_func;
Roman - am I wrong?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel