Closed
Bug 912277
Opened 11 years ago
Closed 11 years ago
Give amckay admin access on prod
Categories
(Marketplace Graveyard :: Admin Tools, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
2013-11-19
People
(Reporter: andy+bugzilla, Assigned: andy+bugzilla)
Details
This API: http://firefox-marketplace-api.readthedocs.org/en/latest/topics/site.html#get--api-v1-services-price-tier- Requires admin access: https://github.com/mozilla/zamboni/blob/master/mkt/api/resources.py#L491 Could amckay@mozilla.com get that access on prod so I can use the API? I'm happy to have more limited permissions if that makes sense.
Assignee | ||
Comment 1•11 years ago
|
||
Would it make sense to have that permission for that API be more limited too, Admin:Payments?
Comment 2•11 years ago
|
||
You link to a GET request which I don't think needs auth (at least not according to the docs), but are you talking about the writable part? I'd support the idea of Admin:Payments, or even something like Payments:ReadPriceTier, Payments:WritePriceTier, etc. I think that's the pattern we've been following elsewhere.
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Wil Clouser [:clouserw] from comment #2) > You link to a GET request which I don't think needs auth (at least not > according to the docs), but are you talking about the writable part? The docs are wrong, I can't access the GET api. But yes writable so I can update price tiers would be great. > I'd support the idea of Admin:Payments, or even something like > Payments:ReadPriceTier, Payments:WritePriceTier, etc. I think that's the > pattern we've been following elsewhere. That looks good to me.
Updated•11 years ago
|
Priority: -- → P2
Assignee | ||
Comment 4•11 years ago
|
||
Is this just a matter of changing the API to have those permissions? Every time we change price tiers I have to write custom Python, its tiring.
Summary: Get access admin access on prod → Give amckay admin access on prod
Comment 5•11 years ago
|
||
(In reply to Andy McKay [:andym] from comment #4) > Is this just a matter of changing the API to have those permissions? Every > time we change price tiers I have to write custom Python, its tiring. yes, then we make a group with whatever those permissions are and then add you to it
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → amckay
Target Milestone: --- → 2013-11-19
Assignee | ||
Comment 6•11 years ago
|
||
https://github.com/mozilla/zamboni/pull/1388
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 7•11 years ago
|
||
I see that the group has now been created @ https://marketplace-dev.allizom.org/admin/models/access/group/
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•