Comment 1 for bug 443431

Revision history for this message
Tim Penhey (thumper) wrote : Re: [Bug 443431] [NEW] "Propose for merging" link available, but says "Not allowed here" when followed

On Tue, 06 Oct 2009 08:48:59 Gavin Panella wrote:
> Public bug reported:
>
> I can see the link "Propose to merge" on:
>
> https://code.edge.launchpad.net/~mwhudson/lpbuildbot/jscheck-maturity
>
> However, clicking on it results in:
>
> Not allowed here
>
> Sorry, you don't have permission to access this page.
>
> You are logged in as Gavin Panella.
>
> Traceback (most recent call last):
>
> * Module zope.publisher.publish, line 133, in publish
> result = publication.callObject(request, obj)
> * Module canonical.launchpad.webapp.publication, line 374, in
> callObject return mapply(ob, request.getPositionalArguments(), request) *
> Module zope.publisher.publish, line 108, in mapply
> return debug_call(obj, args)
> __traceback_info__: <security proxied
> zope.app.publisher.browser.viewmeta.SimpleViewClass from
> /srv/edge.launchpad.net/edge/launchpad-rev-9637/lib/lp/code/browser/../../
> app/templates/generic-edit.pt instance at 0x2aaab0620dd0> * Module
> zope.publisher.publish, line 114, in debug_call
> return obj(*args)
> * Module canonical.launchpad.webapp.publisher, line 281, in __call__
> self.initialize()
> * Module lp.code.browser.branch, line 1169, in initialize
> LaunchpadFormView.initialize(self)
> * Module canonical.launchpad.webapp.launchpadform, line 91, in
> initialize self.setUpWidgets()
> * Module canonical.launchpad.webapp.launchpadform, line 168, in
> setUpWidgets data=self.initial_values, adapters=self.adapters,
> * Module lp.code.browser.branch, line 1158, in initial_values
> reviewer = default_target.code_reviewer
>
> Unauthorized: (<Branch u'~launchpad-pqm/lpbuildbot/trunk' (38862)>,
> 'code_reviewer', 'launchpad.View')

Almost certainly this is due to the widget that selects which branch to land
on. You won't have permission to see the the trunk branch of lpbuildbot.