launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #09525
Re: Who can create private bugs and branches?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12-07-02 11:59 AM, Curtis Hovey wrote:
> Maybe sending an email to the branch owner when we discover the
> staking is insane.
I don't understand the context of this.
> If you think we can easily prevent stacking issues with a change,
> please explain.
The way I read the code, we're already handling this in codehosting,
by not providing a control directory (and default stacking branch) if
the user is not permitted to access the development focus:
lib/lp/code/xmlrpc/codehosting.py:
class CodehostingAPI(LaunchpadXMLRPCView):
...
def _serializeControlDirectory(self, requester, product_path,
trailing_path):
...
try:
path = branch_id_alias(default_branch)
except Unauthorized:
return
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk/zF74ACgkQ0F+nu1YWqI0/hgCcDlMH/EREf0vac8Hb9J9HXaEA
hYoAn3nmhDvzHP3QTaol8vFL17e/TGMt
=Br3R
-----END PGP SIGNATURE-----
References