Skip to content

Refactor/organization details - #757

Open
s0582346 wants to merge 26 commits into
mainfrom
refactor/organization-details
Open

Refactor/organization details#757
s0582346 wants to merge 26 commits into
mainfrom
refactor/organization-details

Conversation

@s0582346

@s0582346 s0582346 commented Aug 8, 2026

Copy link
Copy Markdown
Member

Rebuilds organization details page (/admin/ngo-details) into a full admin surface for a Verein.

What changed

Frontend — page rewritten as section cards (general · legal · contact · users) with a sticky header whose
save/discard actions appear only once something is dirty. Logo picking only stages the file; the upload happens on
save. Users section lists members with position, email and a status pill, plus an Add user dialog.

LogoOrganizationLogoService stores the image in S3, keeping only logoKey/logoContentType on the
organization (@JsonIgnore). Clients get a derived hasLogo and fetch bytes separately.

InvitationsPOST /organization/my/members provisions a Keycloak account, assigns the member role and has
Keycloak email a password-setup link. INVITED if the mail went out, INVITATION_FAILED if not. The account exists either way, which is why that's a status and not an error. An existing Keycloak user for that email
is linked rather than failing.

Member statusNO_ACCESSINVITED/INVITATION_FAILEDACTIVE. Keycloak never reports a completed
invitation, so the flip to ACTIVE happens on the first request carrying the person's token.

Organization.type — nested Organization.TYPE → top-level OrganizationType with the legal forms the UI offers.
The column moves from an ordinal smallint check (type between 0 and 1) to the enum name, which unblocks new legal
forms and stops tying stored data to enum declaration order.

Local dev — mailpit in docker-compose (SMTP 1025, UI http://localhost:8025) catches invitation mails;
quarkus-realm.json points SMTP at host.docker.internal:1025 and gains the org-admin role for invited people.

s0582346 added 25 commits August 1, 2026 14:48
@s0582346
s0582346 requested a review from manuelhummler August 8, 2026 09:46
@s0582346 s0582346 self-assigned this Aug 8, 2026
@s0582346 s0582346 added this to hopps Aug 8, 2026
@s0582346 s0582346 moved this to In Review in hopps Aug 8, 2026
@s0582346 s0582346 linked an issue Aug 8, 2026 that may be closed by this pull request
19 tasks
@s0582346 s0582346 removed this from hopps Aug 8, 2026
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.

Stammdaten der Organisation übersichtlich pflegen

1 participant