Closed
Bug 1131311
Opened 11 years ago
Closed 9 years ago
Add an admin user when creating a new database (but not in production)
Categories
(Release Engineering Graveyard :: Applications: Balrog (backend), defect)
Release Engineering Graveyard
Applications: Balrog (backend)
x86
macOS
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nthomas, Unassigned)
Details
When running the Balrog backend for development work it's common to create a new database (a clean slate). But then you need to create an admin user to make any changes, with some SQL like
insert into permissions values ("admin", "admin", "", 1);
We could do this automatically when the backend has been started with
python admin.py
and maybe via Vagrant too.
Comment 1•9 years ago
|
||
I think this fixed by https://github.com/mozilla/balrog/blob/master/scripts/initdb_and_run.sh.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Release Engineering → Release Engineering Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•