mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 15:23:02 +01:00
Fixed #6963: grant references not working
(cherry picked from commit ddca654a13
)
This commit is contained in:
parent
562de6f7f2
commit
4708bbf4a7
@ -3717,7 +3717,7 @@ void VIO_store(thread_db* tdbb, record_param* rpb, jrd_tra* transaction)
|
||||
EVL_field(0, rpb->rpb_record, f_trg_rname, &desc);
|
||||
|
||||
// check if this request go through without checking permissions
|
||||
if (!(request->getStatement()->flags & JrdStatement::FLAG_IGNORE_PERM))
|
||||
if (!(request->getStatement()->flags & (JrdStatement::FLAG_IGNORE_PERM | JrdStatement::FLAG_INTERNAL)))
|
||||
SCL_check_relation(tdbb, &desc, SCL_control | SCL_alter);
|
||||
|
||||
if (EVL_field(0, rpb->rpb_record, f_trg_rname, &desc2))
|
||||
|
Loading…
Reference in New Issue
Block a user