assert   
  - no permission for shutdown/online access to database
  + ### CAUTION ### database.bring_online() UNEXPECTEDLY NOT RAISED ERROR.
  + Data from DB header:
  + Database "/var/tmp/qa_2024/test_12478/test.fdb"
  + Database header page information:
  + Database dialect	3
  + Attributes		single-user maintenance
  + Database GUID:	{3288631F-CB5C-4878-A37C-FAEE1172FA70}
  + Data from mon$database:
  + CURRENT_TIMESTAMP                : 2025-12-03 07:28:12.493000+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                : 2
  + CURRENT_TIMESTAMP                : 2025-12-03 07:28:12.493000+03:00
  + WHO_AMI                          : TMP_SYSPRIV_USER
  + RDB$ROLE_NAME                    : TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
  + RDB_ROLE_IN_USE                  : True
  + RDB_SYS_PRIVILEGES     

[...SKIPPED...]

07:41:25.339 E         + RDB_ROLE_IN_USE                  : True
2025-12-03 07:41:25.345 E         + RDB_SYS_PRIVILEGES               : b'\x00\x01\x00\x00\x00\x00\x00\x00'
2025-12-03 07:41:25.351 E         + MON$SHUTDOWN_MODE                : 2
2025-12-03 07:41:25.357
2025-12-03 07:41:25.364 tests/functional/syspriv/test_access_shutdown_database.py:247: AssertionError
2025-12-03 07:41:25.373 ---------------------------- Captured stdout setup -----------------------------
2025-12-03 07:41:25.381 Creating db: localhost:/var/tmp/qa_2024/test_12478/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2025-12-03 07:41:25.387 CREATE user: TMP_SYSPRIV_USER PLUGIN: Srp
2025-12-03 07:41:25.393 CREATE role: TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
2025-12-03 07:41:25.399 --------------------------- Captured stdout teardown ---------------------------
2025-12-03 07:41:25.409 DROP role: TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
2025-12-03 07:41:25.417 DROP user: TMP_SYSPRIV_USER PLUGIN: Srp