1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/src/applications
epriestley d37153f003 Make bin/storage upgrade and bin/storage adjust emit detailed messages if the user has no access to databases
Summary:
Ref T10195. Distinguish between "database does not exist" and "database exists, you just don't have permission to access it".

We can't easily get this information out of INFORMATION_SCHEMA but can just `SHOW TABLES IN ...` every database that looks like it's missing and then look at the error code.

Test Plan:
  - Created a user `limited` with limited access.
  - Ran `bin/storage adjust`.
  - Got hopefully more helpful messages about access problems, instead of "Missing" errors.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10195

Differential Revision: https://secure.phabricator.com/D15079
2016-01-21 13:06:00 -08:00
..
almanac Prepare DestructionEngine to be modularized 2015-12-21 17:03:32 -08:00
aphlict Update "should not run as root" message 2015-10-31 11:20:23 +00:00
arcanist/conduit Remove remaining arcanist project code 2015-07-08 19:37:28 +10:00
audit Remove various additional calls to getCallsign() 2016-01-02 11:04:22 -08:00
auth Begin modularizing main menu items 2016-01-04 06:57:09 -08:00
badges Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
base Allow profile menu items to be reordered 2016-01-13 11:45:57 -08:00
cache Write 500 words on how to restart webservers 2015-12-02 09:16:10 -08:00
calendar Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
celerity Allow profile menus to be collapsed and expanded 2016-01-19 13:16:54 -08:00
chatlog Update Chatlog for handleRequest 2015-07-31 09:14:44 -07:00
conduit Improve behavior of "owner" transaction in "maniphest.edit" endpoint 2016-01-11 09:19:18 -08:00
config Make bin/storage upgrade and bin/storage adjust emit detailed messages if the user has no access to databases 2016-01-21 13:06:00 -08:00
conpherence Remove "username@phabricator.mycompany.com" creating a Conpherence 2016-01-11 10:32:23 -08:00
console Separate external editor integration from callsigns 2016-01-04 06:54:01 -08:00
countdown Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
daemon Link "continue" action to confirm dialog in bulk jobs that are unconfirmed 2016-01-10 10:55:58 -08:00
dashboard Add more NUX states 2015-12-21 11:15:54 -08:00
differential Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
diffusion Allow diffusion.filecontentquery to load data for arbitrarily large files 2016-01-21 09:52:43 -08:00
diviner Remove newFromMenu() from SideNav 2016-01-14 05:33:34 -08:00
doorkeeper JIRA Integration: Link and/or Comment 2015-11-12 19:30:43 +00:00
draft/storage Fix EditEngine preview/draft for first comment on a task you didn't create 2015-12-05 09:57:45 -08:00
drydock Improve UX and messaging for certain errors when landing revisions 2015-12-27 08:01:20 -08:00
fact Update Facts for handleRequest 2015-07-27 09:12:35 -07:00
feed Remove some low-hanging buildStandardPageResponse() methods 2015-11-03 10:11:36 -08:00
files Allow diffusion.filecontentquery to load data for arbitrarily large files 2016-01-21 09:52:43 -08:00
flag Fully modularize DestructionEngine 2015-12-21 17:03:44 -08:00
fund Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
harbormaster Add a missing key to HarbormasterBuildArtifact 2016-01-21 10:21:19 -08:00
help Begin modularizing main menu items 2016-01-04 06:57:09 -08:00
herald Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
home Drop "Quick Create" header from quick create menu 2015-12-07 13:43:54 -08:00
legalpad Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
lipsum Improve lispum generation of pastes 2015-12-25 07:41:38 -08:00
macro Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
maniphest Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
meta Remove all setObjectURI() from ActionListViews 2015-12-17 08:30:22 -08:00
metamta Replace subscribe/unsubscribe for projects with explicit mail setting 2016-01-19 19:39:02 -08:00
multimeter Various translation improvements 2015-11-03 07:02:46 +11:00
notification Fully modularize DestructionEngine 2015-12-21 17:03:44 -08:00
nuance Remove all setObjectURI() from ActionListViews 2015-12-17 08:30:22 -08:00
oauthserver Linter fixes 2015-12-03 07:44:23 +11:00
owners Move generateDiffusionURI() into PhabricatorRepository 2016-01-05 04:47:06 -08:00
passphrase Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
paste Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
people Convert user profiles to Profile Panels 2016-01-15 09:13:13 -08:00
phame Add basic grey and blue styles for PHUIBoxView 2016-01-21 07:14:39 -08:00
phid Show hovercards for most links in object property views 2015-12-24 12:10:56 -08:00
phlux Remove all setObjectURI() from ActionListViews 2015-12-17 08:30:22 -08:00
pholio Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
phortune Use more reassuring UI and copy for removing payment methods 2016-01-08 09:25:36 -08:00
phpast Show node IDs in XHPAST tree view 2015-12-23 08:39:24 +11:00
phragment Remove all setObjectURI() from ActionListViews 2015-12-17 08:30:22 -08:00
phrequent Make notification counts properly translatable 2015-12-03 07:06:39 -08:00
phriction Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
phurl Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
policy Fix incorrect key handling in extended policy filtering 2016-01-11 07:04:47 -08:00
ponder Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
project Document the new watcher/member/edit notification mail rules 2016-01-19 19:39:16 -08:00
releeph Hacks on Hacks 2016-01-13 11:09:13 -08:00
remarkup/conduit phtize all the things 2015-05-22 21:16:39 +10:00
repository Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
search Allow profile menus to be collapsed and expanded 2016-01-19 13:16:54 -08:00
settings Allow profile menus to be collapsed and expanded 2016-01-19 13:16:54 -08:00
slowvote Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
spaces More NUX states 2015-12-21 13:13:44 -08:00
subscriptions Allow any user to watch any project they can see 2016-01-19 19:38:30 -08:00
support/application Implement the getName method in PhabricatorApplication subclasses 2014-07-23 23:52:50 +10:00
system Fully modularize DestructionEngine 2015-12-21 17:03:44 -08:00
tokens Fix an exception in Tokens if a bad object was given a token 2015-12-28 13:28:25 -08:00
transactions Fix smushing of multiple values in Projects "Additional Hashtags" field 2016-01-18 08:34:13 -08:00
typeahead Add a basic remarkup typeahead for users and projects 2016-01-15 09:11:46 -08:00
uiexample PHUIIconCircleView 2016-01-18 09:02:58 -08:00
xhprof Update XHProf for handleRequest 2015-08-01 15:41:57 -07:00