distribution.series empty with anonymous login

Bug #514447 reported by Michael Bienia
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Brad Crittenden

Related branches

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

I suspect a permission is using launchpad.View instead of zope.Public

affects: soyuz → launchpad-registry
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Brad Crittenden (bac)
milestone: none → 10.02
tags: added: trivial
Revision history for this message
Brad Crittenden (bac) wrote :

This bug appears related to bug 515761 but is substantially different.

It does not look like a simple permission problem. The series collection is in IDistributionPublic which enabled in the zcml with:

<allow interface="lp.registry.interfaces.distribution.IDistributionPublic"/>

so no permission is required.

Further this interface exports many properties and two collections. All but 'series' are visible.

Revision history for this message
Brad Crittenden (bac) wrote :

I was incorrect. The problem is exactly the same as bug 515761. Adding a security adapter for IDistroSeries with 'launchpad.View' solves the problem.

Brad Crittenden (bac)
Changed in launchpad-registry:
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: In Progress → Fix Committed
tags: added: qa-needstesting
Curtis Hovey (sinzui)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Curtis Hovey (sinzui) wrote : Bug 514447 Fix released

Fixed released in launchpad-project 10.02.

Changed in launchpad-registry:
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.