Skip to content

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

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

When a space is disabled, members who aren't managers still see it as enabled and opening it fails. Cause: packages/web-runtime/src/container/sse/spaces.ts:66 always re-fetches the drive, which non-managers can't read once it is disabled.

Reproduction Steps

  1. A user is editor or viewer of a space and has Spaces open.
  2. An admin disables the space.

Expected Outcome

The space disappears (or shows as disabled).

Actual Outcome

Unable to process sse event space-disabled (GET /drives/<id> 404); the row stays "Enabled", opening it fails and actions inside an open space fail.

Screenshot

Activity

  1. self-assigned this
    on Oct 12, 2026
  2. AlexAndBear commented on Oct 19, 2026

    @AlexAndBear
    MemberAuthor

    fixed via #3774

  3. moved this from Needs Review to Done in OpenCloud Team Boardon Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions