Vlad Khorsun 2024.03.08 14:34:34
Backported: new context variable 'ALLOW_CHANGE_SYSTEM_RELATIONS' in 'USER_SESSION' name space.
When set to 1, current attachment is allowed to change system tables.
Default value is 0.
Any values except of 1 and 0 is not allowed, RDB$SET_CONTEXT will not change value and return 0.
Only database owner and SYSDBA are allowed to change this variable.

Changed paths:
  M src/jrd/Attachment.h
  M src/jrd/SysFunction.cpp
  M src/jrd/scl.epp
  M src/jrd/vio.cpp