KAN-64: Allow project admins to delete projects #171

Merged
Twyco merged 1 commits from fix/KAN-64-cant-delete-project into main 2026-10-01 15:16:04 +00:00
Owner

Summary

  • Let project admins delete projects through the web and API endpoints while retaining exact project-key confirmation.
  • Delete the project's private base template in the same transaction so its key can be reused; preserve published templates and other linked projects.
  • Cover project-admin access, denied readers, template cleanup, and API deletion.

Verification

  • php artisan test --compact tests/Feature/Projects/ProjectControllerTest.php (27 passed)
  • php artisan test --compact tests/Feature/Api/ProjectApiTest.php (7 passed)
  • php artisan test --compact tests/Feature/Projects/ProjectTemplateControllerTest.php (6 passed)
  • vendor/bin/pint --dirty --format agent
  • git diff --check

Rebased onto fix/dependency-cves (#173). 44 affected PHPUnit tests passed after rebasing.

## Summary - Let project admins delete projects through the web and API endpoints while retaining exact project-key confirmation. - Delete the project's private base template in the same transaction so its key can be reused; preserve published templates and other linked projects. - Cover project-admin access, denied readers, template cleanup, and API deletion. ## Verification - `php artisan test --compact tests/Feature/Projects/ProjectControllerTest.php` (27 passed) - `php artisan test --compact tests/Feature/Api/ProjectApiTest.php` (7 passed) - `php artisan test --compact tests/Feature/Projects/ProjectTemplateControllerTest.php` (6 passed) - `vendor/bin/pint --dirty --format agent` - `git diff --check` Rebased onto `fix/dependency-cves` (#173). 44 affected PHPUnit tests passed after rebasing.
Twyco changed target branch from main to fix/dependency-cves 2026-09-30 09:20:33 +00:00
Twyco changed target branch from fix/dependency-cves to main 2026-09-30 10:07:57 +00:00
Twyco added 1 commit 2026-09-30 10:07:57 +00:00
fix: allow project admins to delete projects (KAN-64)
CI/CD / preconditions (pull_request) Successful in 1s
CI/CD / test_and_check_app (pull_request) Successful in 6m40s
CI/CD / Publish immutable image (pull_request) Skipped
78e321f665
Twyco merged commit 6054690607 into main 2026-10-01 15:16:04 +00:00
Twyco deleted branch fix/KAN-64-cant-delete-project 2026-10-01 15:16:05 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: PetschStudios/KanbanGit#171