assert   
  + Statement failed, SQLSTATE = 28000
  + unsuccessful metadata update
  + -ALTER DATABASE failed
  + -no permission for ALTER access to DATABASE
    RDB$USER                        TMP$C5790
    RDB$GRANTOR                     SYSDBA
    RDB$PRIVILEGE                   O
    RDB$GRANT_OPTION                0
    RDB$RELATION_NAME               SQL$DATABASE
    RDB$FIELD_NAME                  <null>
    RDB$USER_TYPE                   8
    RDB$OBJECT_TYPE                 21
    Records affected: 1
    Records affected: 0

LOG DETAILS:

2026-07-23 20:54:26.149
2026-07-23 20:54:26.149 act = <firebird.qa.plugin.Action object at [hex]>
2026-07-23 20:54:26.149 test_user = <firebird.qa.plugin.User object at [hex]>
2026-07-23 20:54:26.149 fdb_file = WindowsPath('R:/Temp/qa/fbqa/test_11199/tmp_5790.fdb')
2026-07-23 20:54:26.149
2026-07-23 20:54:26.149     @pytest.mark.version('>=3.0.4')
2026-07-23 20:54:26.149     def test_1(act: Action, test_user: User, fdb_file: Path):
2026-07-23 20:54:26.149 

[...SKIPPED...]

N                0
2026-07-23 20:54:26.149 E           RDB$RELATION_NAME               SQL$DATABASE
2026-07-23 20:54:26.149 E           RDB$FIELD_NAME                  <null>
2026-07-23 20:54:26.149 E           RDB$USER_TYPE                   8
2026-07-23 20:54:26.149 E           RDB$OBJECT_TYPE                 21
2026-07-23 20:54:26.149 E           Records affected: 1
2026-07-23 20:54:26.149 E           Records affected: 0
2026-07-23 20:54:26.149
2026-07-23 20:54:26.149 tests\bugs\core_5790_test.py:73: AssertionError
2026-07-23 20:54:26.149 ---------------------------- Captured stdout setup ----------------------------
2026-07-23 20:54:26.149 Creating db: localhost:R:\Temp\qa\fbqa\test_11199\test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2026-07-23 20:54:26.149 CREATE user: TMP$C5790 PLUGIN: Srp
2026-07-23 20:54:26.149 -------------------------- Captured stdout teardown ---------------------------
2026-07-23 20:54:26.149 DROP user: TMP$C5790 PLUGIN: Srp