decouple branch naming from branch access control

Bug #190116 reported by Martin Pool
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

(Bug to track an open issue, needs discussion.)

At the moment the standard naming of a branch in Launchpad is

  /~owner/project/name

and these components must be, respectively, a Launchpad Person (including groups), a project, and an arbitrary unique name.

Only the owner can write to the branch.

The owner can be changes, but this implicitly changes the name of the branch. Objects (bugs, specs etc) attached to the branch inside Launchpad will remain attached, but things outside Launchpad will lose their reference.

This is probably reasonable if the branch really is intended to be renamed, or moved from one project to another.

However, if the user just wants to change who can write to the branch, for example allowing one group or not, this is unnecessarily disruptive. People using hosted branches for packaging would commonly like to change access rules on them.

Revision history for this message
Matt Zimmerman (mdz) wrote :

I agree, this is counter-intuitive in its side effects. With other web content, the notion of access control is managed separately from the notion of namespace, and I think that's healthy.

Revision history for this message
Martin Pool (mbp) wrote :

Here's a real example that happened recently.

Jelmer wanted to move maintenance of bzr-gtk from ~bzr to the ~bzr-gtk team.

He decided to overwrite the existing branch with a branch containing only a README giving the new location.

That's not great, but having the old branch just apparently disappear is arguably worse.

http://bazaar.launchpad.net/~bzr/bzr-gtk/trunk/

Revision history for this message
Aaron Bentley (abentley) wrote :

Of course, another option for bzr+gtk would have been to turn ~bzr/bzr-gtk/trunk into a branch reference. Launchpad could even do this automatically.

Tim Penhey (thumper)
Changed in launchpad-bazaar:
importance: Undecided → Medium
status: New → Confirmed
Tim Penhey (thumper)
tags: added: acl
Changed in launchpad:
importance: Medium → Low
Curtis Hovey (sinzui)
tags: added: branches
removed: acl
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.