builders page inaccessible if a private recipe build is building

Bug #760303 reported by Robert Collins
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Colin Watson

Bug Description

https://launchpad.net/builders

Module zope.traversing.adapters, line 138, in traversePathElement
return traversable.traverse(nm, further_path)
__traceback_info__: (<lp.code.browser.sourcepackagerecipebuild.SourcePackageRecipeBuildFormatterAPI object at 0x1931a790>, 'link')
Module lp.app.browser.tales, line 607, in traverse
return getattr(self, method_name)(extra_path)
Module lp.app.browser.tales, line 1361, in link
summary = self._make_link_summary()
Module lp.app.browser.tales, line 1308, in _make_link_summary
for key, value in self._link_summary_values().iteritems():
Module lp.code.browser.sourcepackagerecipebuild, line 54, in _link_summary_values
return {'title': self._context.title,
Unauthorized: (<lp.code.model.sourcepackagerecipebuild.SourcePackageRecipeBuild object at 0x1931a150>, 'title', 'launchpad.View')<br />

Its possible this will oops if we have links to /builders, but I don't know, so high for now.

Tags: 403 easy qa-ok

Related branches

Curtis Hovey (sinzui)
tags: added: 402
tags: added: 403
removed: 402
William Grant (wgrant)
summary: - builders page inaccessible if a private build is building
+ builders page inaccessible if a private recipe build is building
Revision history for this message
Julian Edwards (julian-edwards) wrote : Re: [Bug 760303] Re: builders page inaccessible if a private recipe build is building

This only happens if you're someone who can normally see the private builds
such as an admin, or commercial admin. Everyone else sees "private build".

Revision history for this message
Stefano Rivera (stefanor) wrote :

This now seems to happen to everyone, and one does still see "private build", so it's not those.

Revision history for this message
Stefano Rivera (stefanor) wrote :

err, I assume it's the recipe builds, not source builds

Revision history for this message
Robert Collins (lifeless) wrote :

Needs to apply the same filtering to all build types

tags: added: easy
Colin Watson (cjwatson)
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Steve Kowalik (stevenk)
Changed in launchpad:
status: Fix Committed → Fix Released
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.