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

Fix ACL checking. Alex, please review.

This commit is contained in:
asfernandes 2011-10-01 21:38:02 +00:00
parent 976e9ba7fd
commit 92cb1cbd87

View File

@ -1166,7 +1166,7 @@ static SecurityClass::flags_t walk_acl(thread_db* tdbb,
case id_procedure:
case id_trigger:
case id_function:
if (c == obj_type && check_string(a, obj_name))
if (c != obj_type || check_string(a, obj_name))
{
hit = false;
}