Skip to content

[FEATURE REQUEST] Disable/Remove space #4611

Open
@jesmrec

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:

  • Adding a new option to the bottom menu: disable space, only available if the user has Drives.DeleteProject.all permission

  • If space is disabled, its menu is available with only 2 options:
    1. Enable -> reenable the space
    2. Delete -> remove the space after asking for confirmation

  • 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:///graph/v1.0/drives/
enable: PATCH https:///graph/v1.0/drives/

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/feature_name
  • Development tasks
    • Implement whatever
    • ...
    • Implement unit tests (if needed)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/feature_name into master

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions