Skip to content

fix: remove disabled spaces for members who can no longer read them - #3709

Closed
AlexAndBear wants to merge 1 commit into
mainfrom
fix/space-disabled-sse
Closed

AlexAndBear wants to merge 1 commit into
mainfrom
fix/space-disabled-sse

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

  • space-disabled SSE: when the disabled space can't be fetched anymore (403/404, e.g. for editors and viewers), it is removed from the stores like on space-deleted, instead of failing with "Unable to process sse event" and staying "Enabled".

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest)
  • test case 1: onSSESpaceDisabledEvent with getDrive rejecting 403/404 calls removeSpace and removeResources

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)

@AlexAndBear

Copy link
Copy Markdown
Member Author

Superseded by #3774.

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.

When a space is disabled, members who aren't managers still see it as enabled and opening it fails

1 participant