assert   
  - no permission for shutdown/online access to database
  + ### CAUTION ### database.shutdown() UNEXPECTEDLY NOT RAISED ERROR.
  + Data from DB header:
  + Database "/var/tmp/qa_2024/test_12479/test.fdb"
  + Database header page information:
  + Database dialect	3
  + Attributes
  + Database GUID:	{71813AE3-B8B0-47A0-83D5-3A9FD08EBB46}
  + Data from mon$database:
  + CURRENT_TIMESTAMP                : 2026-01-12 10:55:06.771000+03:00
  + WHO_AMI                          : TMP_SYSPRIV_USER
  + RDB$ROLE_NAME                    : RDB$ADMIN
  + RDB_ROLE_IN_USE                  : False
  + RDB_SYS_PRIVILEGES               : b'\xff\xff\xff\xff\xff\xff\xff\xff'
  + MON$SHUTDOWN_MODE                : 0
  + CURRENT_TIMESTAMP                : 2026-01-12 10:55:06.771000+03:00
  + WHO_AMI                          : TMP_SYSPRIV_USER
  + RDB$ROLE_NAME                    : TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
  + RDB_ROLE_IN_USE                  : True
  + RDB_SYS_PRIVILEGES               : b'\x00\x01\x00\x0

[...SKIPPED...]

11:06:34.257 E         + RDB_ROLE_IN_USE                  : True
2026-01-12 11:06:34.264 E         + RDB_SYS_PRIVILEGES               : b'\x00\x01\x00\x00\x00\x00\x00\x00'
2026-01-12 11:06:34.271 E         + MON$SHUTDOWN_MODE                : 0
2026-01-12 11:06:34.278
2026-01-12 11:06:34.285 tests/functional/syspriv/test_access_shutdown_database.py:179: AssertionError
2026-01-12 11:06:34.292 ---------------------------- Captured stdout setup -----------------------------
2026-01-12 11:06:34.299 Creating db: localhost:/var/tmp/qa_2024/test_12479/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2026-01-12 11:06:34.306 CREATE user: TMP_SYSPRIV_USER PLUGIN: Srp
2026-01-12 11:06:34.313 CREATE role: TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
2026-01-12 11:06:34.319 --------------------------- Captured stdout teardown ---------------------------
2026-01-12 11:06:34.324 DROP role: TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
2026-01-12 11:06:34.330 DROP user: TMP_SYSPRIV_USER PLUGIN: Srp