assert   
  - no permission for shutdown/online access to database
  + ### CAUTION ### database.shutdown() UNEXPECTEDLY NOT RAISED ERROR.
  + Data from DB header:
  + Database "R:\TEMP\QA\FBQA\TEST_12503\TEST.FDB"
  + Database header page information:
  + Database dialect	3
  + Attributes
  + Database GUID:	{D8857172-1E0A-4A87-88FC-DFC1F6BA6B4F}
  + Data from mon$database:
  + CURRENT_TIMESTAMP                : 2026-01-09 05:51:20.769000+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-09 05:51:20.769000+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\x00

[...SKIPPED...]

09 05:56:04.472 E         + RDB_ROLE_IN_USE                  : True
2026-01-09 05:56:04.472 E         + RDB_SYS_PRIVILEGES               : b'\x00\x01\x00\x00\x00\x00\x00\x00'
2026-01-09 05:56:04.472 E         + MON$SHUTDOWN_MODE                : 0
2026-01-09 05:56:04.472
2026-01-09 05:56:04.472 tests\functional\syspriv\test_access_shutdown_database.py:179: AssertionError
2026-01-09 05:56:04.472 ---------------------------- Captured stdout setup ----------------------------
2026-01-09 05:56:04.472 Creating db: localhost:R:\temp\qa\fbqa\test_12503\test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2026-01-09 05:56:04.472 CREATE user: TMP_SYSPRIV_USER PLUGIN: Srp
2026-01-09 05:56:04.472 CREATE role: TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
2026-01-09 05:56:04.472 -------------------------- Captured stdout teardown ---------------------------
2026-01-09 05:56:04.472 DROP role: TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
2026-01-09 05:56:04.472 DROP user: TMP_SYSPRIV_USER PLUGIN: Srp