Repository navigation
feat(admin): superadmins remove an organisation without users, from the web UI - #325
Merged
Merged
Conversation
DELETE /v1/admin/organisations/{id}, superadmin only: refused (409)
while the organisation has users, or when an SSO setting names it
(FRANK_SSO_ORGANISATION, FRANK_SSO_ADMIN_ORGANISATION), since FRANK
would not start without it. Audited as participant_removed; its
sightings keep its id as their reporter.
The web UI's admin tab gets a "remove organisation" button next to
"set status", for superadmins, enabled only while the organisation has
no users, with a confirmation. On the host: frank participant remove.
Spec 011 requirement 2, OpenAPI, README; the MC/DC snapshot.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
lab271on STACKIT (test-frank#2).Changes
Added
DELETE /v1/admin/organisations/{id}(admin.rs::remove_organisation), superadmin; 409 with users or whenFRANK_SSO_ORGANISATION/FRANK_SSO_ADMIN_ORGANISATIONnames it; auditparticipant_removed.store/participants.rs::remove_organisation: only without users.frank participant remove NAME.Changelog
DELETE /v1/admin/organisations/{id}, a "remove organisation" button in the web UI's admin tab, andfrank participant remove NAME. An organisation an SSO setting names cannot be removed. Audit lineparticipant_removed.Testing
FRANK_SSO_ORGANISATIONnames is refused with 409 even when emptymake lint,make test,check-assurance,test-mcdc(snapshot regenerated, 48/48), lizard CCN ≤ 15,node --check web/app.jsRelated Issues
Closes #324
🤖 Generated with Claude Code