Cannot reject some duplicate questions

Bug #695206 reported by marcobra (Marco Braida)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Curtis Hovey

Bug Description

i'm an answer contact of Ubuntu i usually remove (reject) duplicate similar questions sent to launchpad, in the last 3 weeks sometimes in cannot remove duplicate questions for example this https://answers.launchpad.net/ubuntu/+source/udev/+question/139436 and some others.

i get this message:

Not allowed here
Sorry, you don't have permission to access this page.

You are logged in as marcobra (Marco Braida).

-----------------------------------------------------------------------

I can remove without any issue some other duplicates questions. So i think this might be a launchpad bug.

Thank you ad best regards

Marco

Related branches

Curtis Hovey (sinzui)
tags: added: questions regression
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Curtis Hovey (sinzui) wrote :

A recent change to fix the permissions working with questions from the package perspective broken the distribution perspective. At this moment, questions targeted to packages can only be rejected (administered) by package answer contacts. This is wrong. A answer contact for a distribution must have permission to administer the question about a distribution package. We are clearly missing this test case.

The fix will be in security.AppendQuestion() The method matches the users question targets (answer contact for) to the current question target. The method may want to adapt the question target to an IDistribution or use self.obj.distribution to also do the check.

Changed in launchpad:
importance: High → Critical
Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :

As a workaround to remove duplicate questions, if the question is assigned to a package, i remove the question source package association to none and then i can remove the question.

Hth

Curtis Hovey (sinzui)
Changed in launchpad:
milestone: none → 11.05
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
assignee: nobody → Curtis Hovey (sinzui)
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
tags: added: qa-ok
removed: qa-needstesting
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.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.