assert   
  + Statement failed, SQLSTATE = 42000
  + unsuccessful metadata update
  + -GRANT failed
  + -Constant "PUBLIC"."SQL$TABLES" not found
  + Statement failed, SQLSTATE = 42000
  + unsuccessful metadata update
  + -GRANT failed
  + -Constant "PUBLIC"."SQL$TABLES" not found
  + Statement failed, SQLSTATE = 42000
  + unsuccessful metadata update
  + -GRANT failed
  + -Constant "PUBLIC"."SQL$TABLES" not found
    USER SYSDBA
  - ACL_COUNT 1
  + ACL_COUNT 0
    Statement failed, SQLSTATE = HY000
    Cannot select system table "SYSTEM"."RDB$SECURITY_CLASSES" for update WITH LOCK
  - Statement failed, SQLSTATE = 42000
  - UPDATE operation is not allowed for system table "SYSTEM"."RDB$SECURITY_CLASSES"
  - Statement failed, SQLSTATE = 42000
  - DELETE operation is not allowed for system table "SYSTEM"."RDB$SECURITY_CLASSES"
    USER MNGR
  - ACL_COUNT 1
  + ACL_COUNT 0
    Statement failed, SQLSTATE = HY000
    Cannot select system table "SYSTEM"."RDB$SECURITY_CLASSES" for update WITH LOCK
    Stat

[...SKIPPED...]

"SYSTEM"."RDB$SECURITY_CLASSES"
2026-05-12 02:41:28.513 E           -Effective user is MNGR
2026-05-12 02:41:28.513 E           Statement failed, SQLSTATE = 28000
2026-05-12 02:41:28.513 E           no permission for DELETE access to TABLE "SYSTEM"."RDB$SECURITY_CLASSES"
2026-05-12 02:41:28.513 E           -Effective user is MNGR
2026-05-12 02:41:28.513
2026-05-12 02:41:28.513 tests\bugs\core_4342_test.py:141: AssertionError
2026-05-12 02:41:28.513 ---------------------------- Captured stdout setup ----------------------------
2026-05-12 02:41:28.513 Creating db: localhost:R:\Temp\qa\fbqa\test_1824\test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2026-05-12 02:41:28.513 CREATE user: BOSS PLUGIN: Srp
2026-05-12 02:41:28.513 CREATE user: MNGR PLUGIN: Srp
2026-05-12 02:41:28.513 -------------------------- Captured stdout teardown ---------------------------
2026-05-12 02:41:28.513 DROP user: MNGR PLUGIN: Srp
2026-05-12 02:41:28.513 DROP user: BOSS PLUGIN: Srp