influxdb/organizations
Jared Scheib 429fe214e6 Add OrganizationConfigStore & refactor org config to be per org
As previously implemented, OrganizationConfig was a global
object. This refactor adds the organization id to context for
every request, even when auth is disabled, so that org id
can be used to get/update an organization config.

Along those lines, this also removes OrganizationConfigStore
.Initialize and replaces .Get with .FindOrCreate, handling
the creation of organization configs upon first attempted
access.

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -07:00
..
dashboards.go Add comments throughout codebase 2017-11-01 12:30:42 -04:00
dashboards_test.go Add comments throughout codebase 2017-11-01 12:30:42 -04:00
org_config.go Add OrganizationConfigStore & refactor org config to be per org 2018-07-09 17:36:19 -07:00
organizations.go Change Organization ID to string from uint64 2017-12-19 10:13:43 -08:00
organizations_test.go Change Organization ID to string from uint64 2017-12-19 10:13:43 -08:00
servers.go Add comments throughout codebase 2017-11-01 12:30:42 -04:00
servers_test.go Add comments throughout codebase 2017-11-01 12:30:42 -04:00
sources.go Add comments throughout codebase 2017-11-01 12:30:42 -04:00
sources_test.go Add comments throughout codebase 2017-11-01 12:30:42 -04:00
users.go Clarify comment in organization/users Add method 2017-12-14 11:46:51 -08:00
users_test.go Only promote user to super admin in user org store 2017-12-14 10:56:23 -08:00