Skip to content

De-domain backoffice: remove party/contract/product + Security Center#11

Merged
casc84ab merged 1 commit into
mainfrom
feature/agnostic-de-domain
Jun 19, 2026
Merged

De-domain backoffice: remove party/contract/product + Security Center#11
casc84ab merged 1 commit into
mainfrom
feature/agnostic-de-domain

Conversation

@ancongui

Copy link
Copy Markdown
Contributor

Makes the backoffice layer product-agnostic, mirroring the starter-application de-domain. BackofficeContext now carries a generic impersonatedSubject (String) instead of a party UUID, drops contract/product scoping, sources identity from the fireflyframework-security SecurityContextPort, and deletes the Security Center SessionManager/SessionContext/mapper. 13 tests green. Do not merge yet — review only.

…urity Center

BackofficeContext is now product-agnostic (backofficeUserId + generic impersonatedSubject + tenantId
+ roles/permissions/attributes). Identity comes from the validated SecurityContextPort
(fireflyframework-security); impersonation is a generic String subject (was party UUID). Deletes
BackofficeSessionContextMapper and all SessionManager/SessionContext usage; resolvers and the
resource controller are genericized. 13 tests green. BREAKING (clean break, no shims).
@casc84ab casc84ab merged commit 4b122bf into main Jun 19, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants