Allow users with permission to delete last board
What does this MR do and why?
When there is only 1 board in a group or project, allow users with appropriate permission to delete it, and warn them in the "Are you sure?" modal about what will happen.
Screenshots or screen recordings
| Scenario | Before | After |
|---|---|---|
| Delete last board in a group | ![]() |
![]() |
| Delete last board in a project | ![]() |
![]() |
How to set up and validate locally
- Check out this branch
- Create a new group and a new project in that group in the GDK
- In the group, visit the Issue boards link
- Use the board configuration modal to delete the board
- You will see that the Delete board confirmation modal includes an explanation about the creation of a new default Development board in this group.
- In the project, visit the Issue boards link
- Use the board configuration modal to delete the board
- You will see that the Delete board confirmation modal includes an explanation about the creation of a new default Development board in this project.
Related to #499579 (closed), #474922 (closed)
Edited by Chad Lavimoniere



