Skip to content

[FEATURE REQUEST] Disable/Remove space #4611

Description

@jesmrec

An space could be disabled, so, no one can interact with it (like blocked). A disabled space:

  • could be finally removed
  • could be enabled again

AC:

  • Add a new option to the bottom menu: Disable space. Only available if the user is Space Admin, Admin (platform permission: Drives.DeleteProject.all) or Space manager (space permission: libre.graph/driveItem/permissions/delete)

  • If space is disabled:

    • Add two new options to the bottom menu: Enable space (re-enable the space) and Delete space (remove the space after asking for confirmation). Only available if the user is Space manager
  • Refresh list after every operation

  • Extra ball: showing an option in the view to show/hide disabled spaces. By default, disabled spaces are hidden, but web and iOS have an option to list them (as disabled). This one could be moved to another issue

Base Requests:

Disable | Delete

DELETE https://<server>/graph/v1.0/drives/<drive-id> (with header Purge: T for delete operation)

Enable

PATCH https://<server>/graph/v1.0/drives/<drive-id> (with header Restore: T and empty body)

persist in DB the status (enabled/disabled) -> new field?
remove from DB if deleted (automatically when removed from backend)

TASKS

  • Research (if needed)
  • Create branch feature/space_lifecycle_operations
  • Development tasks
    • Add a menu option to disable a space
    • Implement the required methods and operations to disable a space and refresh the list
    • Add a new menu option to enable a space
    • Implement the required methods and operations to enable a space and refresh the list
    • Add a new menu option to delete a space
    • Implement the required methods and operations to delete a space and refresh the list
    • Display disabled spaces in the spaces list (only for space managers)
    • Implement unit tests (if needed)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/space_lifecycle_operations

Activity

  1. added this to the 4.7 - Next milestone on Jun 25, 2025
  2. jesmrec commented on Sep 19, 2025

    @jesmrec
    MemberAuthor

    how to display the show / hide disabled spaces:

    • Show in text like the web
    • Show in minifabs
    • three-dot-button on the top right, with the option.
    • option like grid/list in the list of files
    • list all spaces (including disabled spaces)
  3. added theissue type on Oct 10, 2025
  4. self-assigned this
    on Oct 15, 2025
  5. linked a pull request that will close this issue[FEATURE REQUEST] Disable/Remove space #4696on Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions