Closed Bug 840188 Opened 12 years ago Closed 11 years ago

Payments account associated with an app changes based on the user

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P2)

Tracking

(Not tracked)

VERIFIED FIXED
2013-08-01

People

(Reporter: krupa.mozbugs, Assigned: scolville)

References

()

Details

(Whiteboard: p=2 qa+)

steps to reproduce:
1. Load https://marketplace-dev.allizom.org/developers/app/private-yacht/payments/ as one of the users (kraj@mozilla.com)
2. Notice the payment account associated with that app
3. Load the same link as an admin not associated with that account.

expected behavior:
The Payment account associated with an app doesn't change based on the user viewing the page.

observed behavior:
Payments account associated with an app changes based on the user.

As an owner, I see that the app is associated with my payment account and when cvan views the same account, there are no payment accounts associated with that app.
does this happen for non-admin accounts in any way? Otherwise, this is probably low priority. There will only be a few mkt admins.
Flags: needinfo?(krupa.mozbugs)
The payment accounts are attached to a user not the app. This allows users to re-use their payment account.

This will affect apps where they have multiple developers, or admins or reviewers visiting.

If a developer with access visits this page, they'll should the accounts listed to them. But also show clearly which account is active for this app, even if it's not one of theirs.
Version: 1.1 → 1.2
Severity: critical → major
Whiteboard: p= → p=2
Priority: -- → P2
Assignee: nobody → mattbasta
The resolution that krupa agreed to:

> Only the owner of the app can change the payment account.

For everyone else, the field will be present but disabled. Team members cannot remove the app from an "incomplete" state; the owner is the only one that can do that.
Flags: needinfo?(krupa.mozbugs)
Target Milestone: 2013-02-14 → 2013-02-28
Target Milestone: 2013-02-28 → 2013-03-28
Target Milestone: 2013-03-28 → 2013-04-04
Target Milestone: 2013-04-04 → ---
Assignee: mattbasta → nobody
Assignee: nobody → scolville
Adding to this milestone because its a P2.
Target Milestone: --- → 2013-07-18
Target Milestone: 2013-07-18 → 2013-07-25
Target Milestone: 2013-07-25 → 2013-08-01
Status: NEW → ASSIGNED
https://github.com/mozilla/zamboni/commit/21e39721203234efea4e84a12aa37d4dc827886d

QA Notes:

To test this it's worth looking at Compatibility and Payments from the following perspectives:

 * Admin (Can't edit the payment account but can see the one associated with the app)
 * Dev (Can't edit the payment account but can see the one associated with the app).
 * Owner (Can update the payment account)
 * 2nd owner (An app which has more than one owner - should be able to update the payment account to one of your own accounts)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: p=2 → p=2 qa+
Verifed as fixed for all scenarios presented in comment #7.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.