client-web
client-web copied to clipboard
[Create Space] Delete space button
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.
Areas that will be affected
To be added during the refinement
After a chat with @bobbykolev I've updated the AC with regards to who can see the delete button.
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.