Closed Bug 912277 Opened 11 years ago Closed 11 years ago

Give amckay admin access on prod

Categories

(Marketplace Graveyard :: Admin Tools, defect, P2)

x86
macOS
defect

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.
Would it make sense to have that permission for that API be more limited too, Admin:Payments?
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.
(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.
Priority: -- → P2
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
(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: nobody → amckay
Target Milestone: --- → 2013-11-19
https://github.com/mozilla/zamboni/pull/1388
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
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.