mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Fixed bug reported in fb-support - wrong permission checks for view columns.
This commit is contained in:
parent
231c9fe80f
commit
7ce9802818
@ -3457,6 +3457,14 @@ static jrd_nod* pass1(thread_db* tdbb,
|
||||
break;
|
||||
}
|
||||
|
||||
// dimitr: if we reference view columns, we need to pass them
|
||||
// as belonging to a view (in order to compute the access
|
||||
// permissions properly).
|
||||
if (relation->rel_view_rse) {
|
||||
view = relation;
|
||||
view_stream = stream;
|
||||
}
|
||||
|
||||
UCHAR local_map[MAP_LENGTH];
|
||||
UCHAR* map = tail->csb_map;
|
||||
if (!map) {
|
||||
|
Loading…
Reference in New Issue
Block a user