Cannot reject some duplicate questions
Bug #695206 reported by
marcobra (Marco Braida)
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:/
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
lp:~sinzui/launchpad/dsp-question-permissions-0
- j.c.sackett (community): Approve
-
Diff: 84 lines (+30/-18)2 files modifiedlib/canonical/launchpad/security.py (+7/-2)
lib/lp/answers/tests/test_question_workflow.py (+23/-16)
tags: | added: questions regression |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in launchpad: | |
importance: | High → Critical |
Changed in launchpad: | |
milestone: | none → 11.05 |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.