Trying to make myself as bug supervisor of my project oopses

Bug #438985 reported by Ursula Junque on 2009-09-29
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
High
Graham Binns

Bug Description

Steps to reproduce:
1) Go to launchpad.dev and login as a regular user (without supercow powers)
2) Create a project
2) Go to bugs.launchpad.dev/yourproject and try to add yourself as bug supervisor
3) Boom! OOPS-1367G1058
  UserCannotSubscribePerson: name12 does not have permission to subscribe name12.

William Grant (wgrant) wrote :

My fault! It's concerning that no tests broke. I incorrectly used 'is' to compare the user and person, when I should have used '=='.

Reading the view code also revealed another issue: there is a permission conflict. When setting the bug supervisor, you can set it to any person, or a team you administer. This implicitly adds a structural subscription for them. In other places you can only subscribe *yourself* or a team you administer. The latter restriction is now implemented in the model, so attempting to set the bug supervisor to another non-team person will fail similarly. I'm not sure how best to resolve this one.

Graham Binns (gmb) on 2009-09-30
Changed in malone:
status: New → Triaged
importance: Undecided → High
Graham Binns (gmb) on 2009-10-01
Changed in malone:
assignee: nobody → Graham Binns (gmb)
milestone: none → 3.1.10
Graham Binns (gmb) on 2009-10-07
Changed in malone:
status: Triaged → In Progress
Changed in malone:
status: In Progress → Fix Committed
Graham Binns (gmb) on 2009-11-09
Changed in malone:
status: Fix Committed → Fix Released
Sumana Harihareswara (sumanah) wrote :

My issue (as described in https://bugs.launchpad.net/bugs/460143 ) is still occurring -- same repro steps. (Error ID: OOPS-1409H2046)

Changed in malone:
status: Fix Released → In Progress
Graham Binns (gmb) wrote :

Hi Sumana,

According to the OOPS you posted, you're trying to set someone else as bug supervisor for a project, which isn't the same as this bug. I've filed bug 479331 about this for you.

Also, please note that the "In progress" status means "Someone is working on fixing this bug." Please don't use it unless you're working on the bug in question.

Changed in malone:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions