firebird.qa.plugin.ExecutionError: gbak execution failed

gbak: ERROR:unsuccessful metadata update
gbak: ERROR:    ALTER DATABASE failed
gbak: ERROR:    no permission for ALTER access to DATABASE 
gbak:Exiting before completion due to errors

LOG DETAILS:

2026-07-23 19:46:05.918
2026-07-23 19:46:05.918 act_src = <firebird.qa.plugin.Action object at [hex]>
2026-07-23 19:46:05.918 act_res = <firebird.qa.plugin.Action object at [hex]>
2026-07-23 19:46:05.918 tmp_fbk = WindowsPath('R:/Temp/qa/fbqa/test_1886/tmp_core_4524.encrypted.fbk')
2026-07-23 19:46:05.918 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-07-23 19:46:05.918
2026-07-23 19:46:05.918     @pytest.mark.encryption
2026-07-23 19:46:05.918     @pytest.mark.version('>=4.0')
2026-07-23 19:46:05.918     def test_1(act_src: Action, act_res: Action, tmp_fbk:Path, capsys):
2026-07-23 19:46:05.918
2026-07-23 19:46:05.918         init_sql = """
2026-07-23 19:46:05.918             set bail on;
2026-07-23 19:46:05.918             create

[...SKIPPED...]

2026-07-23 19:46:05.918 E           gbak:Exiting before completion due to errors
2026-07-23 19:46:05.918
2026-07-23 19:46:05.918 tests\bugs\core_4524_test.py:254: ExecutionError
2026-07-23 19:46:05.918 ---------------------------- Captured stdout setup ----------------------------
2026-07-23 19:46:05.918 Creating db: localhost:R:\Temp\qa\fbqa\test_1886\test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2026-07-23 19:46:05.918 Creating db: localhost:R:\Temp\qa\fbqa\test_1886\tmp_core_4524.restored.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2026-07-23 19:46:05.918 -------------------------- Captured gbak stderr call --------------------------
2026-07-23 19:46:05.918 gbak: ERROR:unsuccessful metadata update
2026-07-23 19:46:05.918 gbak: ERROR:    ALTER DATABASE failed
2026-07-23 19:46:05.918 gbak: ERROR:    no permission for ALTER access to DATABASE
2026-07-23 19:46:05.918 gbak:Exiting before completion due to errors