Homec4science

Improve schema upgrade workflow for unprivileged users

Authored by epriestley <git@epriestley.com> on Apr 30 2011, 09:18.

Description

Improve schema upgrade workflow for unprivileged users

Summary:
In a basically reasonable configuration where you connect
with a non-privileged user from the web workflow, upgrade_schema.php
won't have enough privileges. Allow the user to override the normal
auth with -u and -p.

Test Plan:
Tried to do a schema upgrade with an underprivileged user,
got a useful error message instead of garbage.

Reviewed By: Girish
Reviewers: Girish, davidrecordon, jungejason, tuomaspelkonen, aran
CC: aran, epriestley, Girish
Differential Revision: 191

Details

Committed
epriestley <git@epriestley.com>Apr 30 2011, 09:50
Pushed
aubortJan 31 2017, 17:16
Parents
rPH3e2f6481750a: Use define() instead of PHP 5.3-only global 'const' in upgrade_schema.php
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH94df24977598: Improve schema upgrade workflow for unprivileged users (authored by epriestley <git@epriestley.com>).Apr 30 2011, 09:50