set branch/repository permissions and privacy through bzr

Bug #407247 reported by Martin Pool
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned
Breezy
Triaged
Wishlist
Unassigned

Bug Description

As a developer
I'd like to set permissions on a branch when I create it
So that I can control who can see it or push to it.

----

At the moment Bazaar branches inherit the permissions of their containing directory. There are many bugs clustered around either:

 * failing to set the right permissions because of bad interactions with eg sftp or ftp servers or filesystems
 * you can't set the permissions directly in the place you most care about it, the bzr client itself

With a smart server, there may be permissions beyond just the filesystem permissions: for instance Launchpad does both read-access (ie privacy) and write-access based on branch owners and subscribers, and these go through a team system separate from the filesystem database. Bazaar can probably manipulate this by calling the Launchpad Branch.setPrivate rpc.

This probably needs to be considered as part of the ui3 work.

Tags: ui3
Martin Pool (mbp)
summary: - set branch/repository permissions through bzr
+ set branch/repository permissions and privacy through bzr
Revision history for this message
Barry Warsaw (barry) wrote :

It would be cool to have an 'lp' subcommand that let you fiddle with branch metadata on Launchpad. E.g.

% bzr lp private
% bzr lp public
% bzr lp fixes 123456

Revision history for this message
Jonathan Lange (jml) wrote :

Barry, I definitely agree.

In fact, I have a branch for Bazaar that adds Launchpad API support to the launchpad plugin. This could be the cornerstone of such a command.

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
Changed in brz:
status: New → Triaged
importance: Undecided → Wishlist
Changed in bzr:
assignee: Martin Pool (mbp) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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