Trying to make myself as bug supervisor of my project oopses

Bug #438985 reported by Ursula Junque
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
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.

Tags: lp-bugs oops
Revision history for this message
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)
Changed in malone:
status: New → Triaged
importance: Undecided → High
Graham Binns (gmb)
Changed in malone:
assignee: nobody → Graham Binns (gmb)
milestone: none → 3.1.10
Graham Binns (gmb)
Changed in malone:
status: Triaged → In Progress
Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit
Changed in malone:
status: In Progress → Fix Committed
Graham Binns (gmb)
Changed in malone:
status: Fix Committed → Fix Released
Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

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