No permissions to view ubuntu/+source/hypre because of disabled ppa in page

Bug #514824 reported by Michael Bienia
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Muharem Hrnjadovic

Bug Description

When trying to visit https://edge.launchpad.net/ubuntu/+source/hypre (edge r10225) I get
"Not allowed here
Sorry, you don't have permission to access this page.
You are logged in as Michael Bienia."

But after logging out first, I can view it.

BTW: When trying to click on "Logout" on the "no permissions" page, I get redirected to https://edge.launchpad.net/ubuntu/+source/+logout which doesn't seem to exist (OOPS-1491ED575).

Related branches

affects: soyuz → launchpad-registry
Revision history for this message
Curtis Hovey (sinzui) wrote :

Is this still happening. I saw login/logout issues happening, but this page have never has restricted permissions. I wonder if something else on edge was wrong.

Changed in launchpad-registry:
status: New → Incomplete
Revision history for this message
Curtis Hovey (sinzui) wrote :

The issue is not the page, but the page content. gesser can see the page as anonymous, but not logged it. He can see all the pages arround it. He tried the linked conent related and he can't visit: https://edge.launchpad.net/~fenics-packages-core/+archive/fenics-ppa . I think the disabled/private PPA is beaking this page.

Changed in launchpad-registry:
status: Incomplete → Triaged
importance: Undecided → High
summary: - No permissions to view https://edge.launchpad.net/ubuntu/+source/hypre
+ No permissions to view ubuntu/+source/hypre because of private ppa in
+ page
affects: launchpad-registry → soyuz
Revision history for this message
Julian Edwards (julian-edwards) wrote :

The fix is to exclude disabled archives in DistributionSourcePackage.findRelatedArchives()

summary: - No permissions to view ubuntu/+source/hypre because of private ppa in
+ No permissions to view ubuntu/+source/hypre because of disabled ppa in
page
Changed in soyuz:
milestone: none → 10.03
tags: added: ppa ui
tags: added: easy
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :
Revision history for this message
Andrew Bennetts (spiv) wrote :
Changed in soyuz:
status: Triaged → In Progress
assignee: nobody → Muharem Hrnjadovic (al-maisan)
Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote :

The bottom part of the OOPS/stack trace:

    * from /srv/edge.launchpad.net/edge/launchpad-rev-10423/lib/lp/registry/browser/../templates/distributionsourcepackage-index.pt object at 0x2aaab0454a10>, 'related_ppa_versions', [])
    * Module lp.registry.browser.distributionsourcepackage, line 329, in related_ppa_versions
      archive_publishings.setdefault(pub.archive, []).append(pub)

Unauthorized: (<SourcePackagePublishingHistory at 0xe4e2fd0>, 'archive', 'launchpad.View')<br />

Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in soyuz:
status: In Progress → Fix Committed
tags: added: qa-needstesting
Changed in soyuz:
status: Fix Committed → In Progress
Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote :

The fix for this bug was confirmed as working on edge, please see https://bugs.edge.launchpad.net/soyuz/+bug/535001/comments/6

Changed in soyuz:
status: In Progress → Fix Committed
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

I am experiencing what I think is the same problem:

https://launchpad.net/ubuntu/+source/gnuradio <-- "Not allowed here" when I'm logged in, but ok when I'm not logged in.

https://edge.launchpad.net/ubuntu/+source/gnuradio <-- works.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

The fix is only on the edge service at the moment. It'll be released to the normal service when 10.03 is rolled out at the end of this month.

tags: added: qa-ok
removed: qa-needstesting
Changed in soyuz:
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.