Commit Graph

6 Commits (BNP_sign_artifacts)

Author SHA1 Message Date
Greg f0d5e5abef
chore: add a KV layer prior to adding an etcd implementation (#5349)
* Bolt to kv/bolt

* Remove unused code

* Remove unused roles code

* Remove unused duplicate Makefile

* Clean up bolt implementation and start layering in an interface for another store

* Layer in kv interface

* Continue layering in kv interface

* Remove circuitbreaker things

* Move cell stuff out

* Convert cell logic to kv interface

* Start adding config logic to kv interface, likely will remain bolt only

* Get to compile with bolt kv before moving too far forward

* Start removing dead dashboard code

* Add generic kv implementation for dashboards

* Convert layouts to kv interface

* Migrate mappings to kv layer

* Migrate org_config to kv layer

* Migrate organizations to kv layer

* Migrate servers to kv layer

* Migrate sources to kv layer

* Migrate users to kv layer

* Start removing unused migration logic

Since there is a migration path for users via updating to 1.7.x line then to 1.8, there isn't any real reason to continue supporting migrating from a version ~2 years old.

* Cleaning up bolt dead codes

* Re-add disabled code

* Migrate tests over to kv layer

* Migrate config to kv layer

* Create default organization

* Remove etcd for now

* Improve new client and new service implementations

* Uncomment bolt build tests

* Add layouts test

* Add more dashboard tests to kv
2020-01-21 09:26:23 -07:00
ischolten eb5febf8af
Merge pull request #2699 from influxdata/feature/mappings
Add Mappings to organizations
2018-02-12 15:29:01 -08:00
Michael Desa 8e54c8c883 Change oauth to oauth2 in scheme flag 2018-02-12 16:24:54 -05:00
Michael Desa e1b87bdf4d Add organization flag to chronoctl for orgs
This flag allows users to have a comma delimited list of organization
IDs that the user should given a role in.
2018-02-12 16:03:27 -05:00
Luke Morris ed706cfbde add user to Default org in add-superadmin cmd 2018-02-09 14:29:43 -08:00
Michael Desa ec180613fb Add commands to users & create superadmin
This PR introduces two new commands:

1. `list-users` which lists all users in boltdb
2. `add-superadmin` which can be user to promote existing users to
superadmins, or creates new users that are superadmins

Currently this work was done as a separate binary, but the intention is
to make it a part of the `chronograf` binary.

Connect https://github.com/influxdata/chronograf/issues/2744
2018-02-08 10:44:49 -05:00