If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Access denied on /admin/models/ for an admin in zamboni

VERIFIED FIXED

Status

addons.mozilla.org Graveyard
Admin/Editor Tools
VERIFIED FIXED
7 years ago
2 years ago

People

(Reporter: krupa, Assigned: clouserw)

Tracking

Details

(Whiteboard: [z], URL)

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
Created attachment 462189 [details]
screenshot

Logging into https://next.addons.mozilla.org/z/en-US/admin/models/ with my admin account shows -

"Site administration

You don't have permission to edit anything."

Give me my power back!
(Assignee)

Updated

7 years ago
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
(Reporter)

Comment 1

6 years ago
I have this problem every time we do a DB refresh
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I don't. Are you an admin in prod?
Status: REOPENED → RESOLVED
Last Resolved: 7 years ago6 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 3

6 years ago
(In reply to comment #2)
> I don't. Are you an admin in prod?

ya
(Assignee)

Updated

6 years ago
Assignee: nobody → clouserw
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---

Comment 4

6 years ago
A script that bumped accounts who don't want admin access in prod, but do in preview would be good. I had to do myself and sancus yesterday.
(Assignee)

Comment 5

6 years ago
Alright, after future production dumps this is the SQL to run:

UPDATE groups SET rules="*:*" where name="QA" limit 1;
UPDATE auth_user SET is_superuser=1 WHERE id IN (SELECT user_id FROM groups_users JOIN groups ON groups.id = groups_users.group_id WHERE groups.name="QA");

To add users, we just add them to the "QA" group in production -- after they've verified that they have an excellent password.
Status: REOPENED → RESOLVED
Last Resolved: 6 years ago6 years ago
Resolution: --- → FIXED
(Reporter)

Comment 6

6 years ago
This solved my problem. Thanks, clouserw!
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.