Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Create Space] Delete space button #6174

Closed
4 tasks
bobbykolev opened this issue May 13, 2024 · 2 comments
Closed
4 tasks

[Create Space] Delete space button #6174

bobbykolev opened this issue May 13, 2024 · 2 comments
Assignees

Comments

@bobbykolev
Copy link
Contributor

bobbykolev commented May 13, 2024

Description

As a creator of spaces (or admin)
I want to be able to delete a space.

e.g. So that I can create a new free one.

Acceptance criteria

  • Delete Space block should be available under Space settings > settings (see screenshot).
  • In Space
  • In Subspace
  • In Subsubspace: add empty settings WITH ONLY THIS DELETE BUTTON! NO OTHER SETTINGS! otherwise Evgeni will be unhappy.
  • Show delete button if the user has DELETE privileges on the space level.
  • Confirmation dialog to be presented to the user.
  • After deletion the user should be navigated to My Dashboard.

Additional Context

Figma: https://www.figma.com/file/noZ6QjMORE2nNkhccSc9pG/Homepage?type=design&node-id=1689%3A4498&mode=design&t=pszRHLnNzU3s5AUg-1
Screen shots / UX designs / data that are relevant.
License V1.png

Areas that will be affected

To be added during the refinement

@SimoneZaza
Copy link
Contributor

After a chat with @bobbykolev I've updated the AC with regards to who can see the delete button.

@bobbykolev
Copy link
Contributor Author

bobbykolev commented May 20, 2024

Hey @SimoneZaza , once again the visibility of the button was discussed and I updated the ACs.

The previously described logic should be applied on the server:

The Delete button should be available to Space Host. If host is not a user but an organization, it should be visible to the owner of the organization. If this is a huge hassle (not sure if the owner of the org even has access..) fine to continue without the second part (org owner) for now and to raise another issue to approach this later.

The client will use the DELETE privileges provided on account + space level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants