Skip to content

fix: leave a space when it gets disabled or deleted - #3774

Merged
AlexAndBear merged 4 commits into
mainfrom
fix/space-disabled-inside
Oct 19, 2026
Merged

AlexAndBear merged 4 commits into
mainfrom
fix/space-disabled-inside

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Description

  • Member inside a space that gets disabled or deleted: is sent to the projects overview with a message instead of staying on a space that no longer works.
  • Managers inside a disabled space: are sent to the projects overview as well, since the content of a disabled space can't be listed anymore. They keep the disabled space in the list to enable or delete it.
  • Projects overview: members who can't see the space anymore lose it from the list without navigation.

This supersedes #3709.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: disabled and deleted events navigate members and managers inside the space away, 403/404 remove the space, users elsewhere are not navigated
  • test case 2: browser: live disable and delete with a second user inside the space and on the overview, manager inside the space is sent out and still sees the disabled space, re-enable shows the space again

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@tammi-23 tammi-23 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 nice fix

@AlexAndBear
AlexAndBear merged commit c08d210 into main Oct 19, 2026
27 checks passed
@AlexAndBear
AlexAndBear deleted the fix/space-disabled-inside branch October 19, 2026 10:05
@openclouders openclouders mentioned this pull request Oct 19, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A member inside a space that gets disabled or deleted is not navigated away

2 participants