[cloud] Add org codehost connections and repositories
Created by: kopancek
Screenshots
How to test locally
- start sourcegraph with sg start enterprise
- Create a user, and modify the user tags in postgres:
UPDATE users SET tags = '{OrgsCode}' WHERE id = 1;
- Modify env flags:
SOURCEGRAPHDOTCOM_MODE=true
EXTSVC_CONFIG_ALLOW_EDITS=true
- Restart sg to make use of the new env flags