Give amckay admin access on prod

VERIFIED FIXED in 2013-11-19

Status

Marketplace
Admin Tools
P2
normal
VERIFIED FIXED
5 years ago
5 years ago

People

(Reporter: Andy McKay, Assigned: Andy McKay)

Tracking

2013-11-19
x86
Mac OS X
Points:
---

Details

(Assignee)

Description

5 years ago
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

5 years ago
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.
(Assignee)

Comment 3

5 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.
Priority: -- → P2
(Assignee)

Comment 4

5 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
(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

5 years ago
Assignee: nobody → amckay
Target Milestone: --- → 2013-11-19
(Assignee)

Comment 6

5 years ago
https://github.com/mozilla/zamboni/pull/1388
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Comment 7

5 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.