-
Bug
-
Resolution: Fixed
-
Low
-
4.1.0
-
Severity 3 - Minor
-
As a Stash/Bitbucket Server User I want to be able to delete my personal fork even though I have a pull request (open OR declined) to an upstream repo to which I no longer have permission to access.
HTR
- Fork a repo to your personal project.
- Open a PR from your fork to the upstream repo.
- Have a user with Project Admin or higher perms remove your permission to the upstream repo.
- Push another change to your personal fork that would update the PR (the PR shouldn't be visible to you anymore at this point).
- Delete your fork.
Expected Result
My forked repo is deleted successfully.
Actual Result
Fork deletion fails and an error modal is displayed:
Repository deletion was canceled.
Pull requests involving ~DROHAN/blues could not be cleaned up. The repository may not be delete
[BSERV-8226] Cross-repository pull requests prevent deletion of personal forks in some cases
Workflow | Original: Stash Workflow - Restricted [ 1769956 ] | New: JAC Bug Workflow v3 [ 3137086 ] |
Symptom Severity | Original: Minor [ 14432 ] | New: Severity 3 - Minor [ 15832 ] |
Priority | Original: Highest [ 1 ] | New: Low [ 4 ] |
Sprint | New: BbS Enterprise 5.0 W4 [ 3771 ] | |
Priority | New: Highest [ 1 ] |
Component/s | New: Enterprise [ 22391 ] |
Fix Version/s | New: 5.0.0 [ 66696 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: To be reviewed [ 10026 ] | New: Closed [ 6 ] |
Status | Original: In Progress [ 3 ] | New: To be reviewed [ 10026 ] |
Assignee | New: Hendrik [ hschnepel ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Summary | Original: Allow personal forks to be deleted regardless of upstream permission + pull request | New: Cross-repository pull requests prevent deletion of personal forks in some cases |