2026-08-10T15:07:06.827Z INFO 380 --- [ Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [net.hostsharing.hsadminng.rbac.subject.RbacSubjectRepositoryIntegrationTest$DeleteSubject]: DeleteSubject does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-08-10T15:07:06.831Z INFO 380 --- [ Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.rbac.subject.RbacSubjectRepositoryIntegrationTest$DeleteSubject
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: insert into rbac.subject_rv (uuid, name, organization, type) values( ?, ?, ?, cast(? as rbac.SubjectType))
Hibernate: select * from rbac.subject where name=?
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: delete from rbac.reference where uuid = ?
2026-08-10T15:07:06.855Z WARN 380 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: P0001
2026-08-10T15:07:06.855Z ERROR 380 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: [403] Subject tst-customer_admin_xxx not allowed to delete subject uuid 4b8e436e-c735-45a7-8c20-8e17e6a14408
Where: PL/pgSQL function rbac.delete_grants_of_subject_tf() line 4 at RAISE
SQL statement "DELETE FROM ONLY "rbac"."subject" WHERE $1 OPERATOR(pg_catalog.=) "uuid""
Hibernate: select * from rbac.subject where name=?
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: insert into rbac.subject_rv (uuid, name, organization, type) values( ?, ?, ?, cast(? as rbac.SubjectType))
Hibernate: select * from rbac.subject where name=?
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: select r.uuid
from rbac.role r
join rbac.object o on o.uuid = r.objectuuid
where o.objecttable = 'rbactest.package' and r.roletype = 'TENANT'
limit 1
Hibernate: call rbac.grantRoleToSubjectUnchecked(?, ?, ?)
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: select count(*) from rbac.grant where ascendantuuid = ? or descendantuuid = ?
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: delete from rbac.subject where uuid = ?
Hibernate: select * from rbac.subject where name=?
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: select count(*) from rbac.reference where uuid = ?
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: select count(*) from rbac.grant where ascendantuuid = ? or descendantuuid = ?
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: insert into rbac.subject_rv (uuid, name, organization, type) values( ?, ?, ?, cast(? as rbac.SubjectType))
Hibernate: select * from rbac.subject where name=?
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: select r.uuid
from rbac.role r
join rbac.object o on o.uuid = r.objectuuid
where o.objecttable = 'rbactest.package' and r.roletype = 'TENANT'
limit 1
Hibernate: call rbac.grantRoleToSubjectUnchecked(?, ?, ?)
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: select count(*) from rbac.grant where ascendantuuid = ? or descendantuuid = ?
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: delete from rbac.reference where uuid = ?
Hibernate: select * from rbac.subject where name=?
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: select count(*) from rbac.reference where uuid = ?
Hibernate: call base.defineContext(
cast(? as varchar(127)),
cast(? as text),
cast(? as varchar(63)),
cast(? as text),
cast(? as text));
Hibernate: select count(*) from rbac.grant where ascendantuuid = ? or descendantuuid = ?