No way for an admin to mark a branch as private in the UI
Bug #268444 reported by
Tom Haddon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Tim Penhey |
Bug Description
A Launchpad admin has no way currently of marking a branch as private in the UI. It requires a manual SQL query.
Related branches
lp:~thumper/launchpad/allow-admin-to-set-branch-privacy
- Michael Hudson-Doyle: Approve
-
Diff: 254 lines (+71/-28)6 files modifiedlib/lp/code/browser/branch.py (+8/-4)
lib/lp/code/interfaces/branch.py (+2/-1)
lib/lp/code/model/branch.py (+8/-6)
lib/lp/code/model/tests/test_branch.py (+15/-6)
lib/lp/code/model/tests/test_branchmergeproposals.py (+3/-3)
lib/lp/code/stories/branches/xx-branch-edit-privacy.txt (+35/-8)
Changed in launchpad-code: | |
status: | In Progress → Fix Committed |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
summary: |
- No way to mark a branch as private in the UI + No way for an admin to mark a branch as private in the UI |
description: | updated |
To post a comment you must log in.
Yes there is a way to mark a branch private, but the branch visibility policy for the project must allow it.
If the policy doesn't allow private branches, then there isn't an option to make it private. If the policy states "private only" then there is no option to make private branches public. If the policy states "private" then users are able to make private branches public and public branches private.