Michael Desa
acf3de93cd
Allow for different canned resource paths
...
Previously, users had to place all canned resources (layouts,
dashboards, sources, kapacitors, and organizations) in a single
directory. This work introduces a way to specify two directories.
One for application layouts and one for the other resources.
Users may still place all resources in a single directory if they'd
like.
2018-01-09 17:34:36 -05:00
Jared Scheib
f91a2e436d
Merge branch 'master' into feature/superadmin_gets_default_role
2017-12-20 17:49:29 -08:00
Michael Desa
14af1aa115
Prevent SuperAdmin from modifying their own status
...
Previously it was possible for SuperAdmins to remove their own status.
This could create an application state where there were no super admins.
This is not an acceptable application state.
2017-12-20 15:17:08 -08:00
Michael Desa
ab9e686bbb
Give SuperAdmin DefaultRole on PUT /me
...
Previously, SuperAdmins were given the admin role in an organization
when they switched into it (via a PUT to /me). This is undesireable for
the comonitoring organization. This PR gives SuperAdmins the default
role for the organization when they switch into it.
2017-12-20 14:20:24 -08:00
Chris Goller
020c7c6901
Update integration test to timeout in 5 seconds rather than 0.1
2017-12-19 20:06:11 -06:00
Michael Desa
9f0476c459
Add filestore impl of kapacitor and source stores
...
Remove random `fmt.Println`'s
2017-12-19 13:14:00 -08:00
Michael Desa
c649095326
Change default org ID to default from Default
...
This is so that the URL can be case insensitive. (e.g.
/chronograf/v1/organizations/default instead of
/chronograf/v1/organizations/Default)
2017-12-19 10:26:36 -08:00
Michael Desa
014048631c
Add basic tests for canned dashboards and orgs
2017-12-19 10:13:46 -08:00
Michael Desa
d8d20547ab
Change Organization ID to string from uint64
2017-12-19 10:13:43 -08:00
Jared Scheib
2ba29d6937
Merge pull request #2591 from influxdata/multitenancy_no_switch_to_orgs_where_no_role
...
Allow SuperAdmin to switch to orgs where they have no role
2017-12-18 13:44:21 -08:00
Luke Morris
0042cb5c05
Missing comma
2017-12-18 13:00:27 -08:00
Luke Morris
071b8b4f82
Minor tweaks based on PR review
2017-12-18 12:59:04 -08:00
lukevmorris
7663df8884
Merge pull request #2604 from influxdata/2599-backup-database-on-upgrade
...
After Chronograf version upgrade, backup database on server start
2017-12-18 12:11:28 -08:00
Luke Morris
fcdc4efb2c
Backup/Migrate/Initialize moved into Open
...
Signed-off-by: Chris Goller <goller@gmail.com>
2017-12-18 12:06:17 -08:00
Luke Morris
8bd97fa14e
Repair broken tests
2017-12-17 14:25:18 -08:00
Michael Desa
a4736148c0
Allow SuperAdmins to change into any organization
2017-12-15 16:05:56 -08:00
Jared Scheib
933291918b
Reference known issue #2601 in Admin creating SuperAdmin response
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-15 15:05:27 -08:00
Michael Desa
6820977a38
Fix wording on API integration tests
...
Format JSON in test to match others
2017-12-14 15:54:27 -08:00
Michael Desa
4223767c53
Use serverContext for getting Config in NewUser
2017-12-14 13:34:19 -08:00
Luke Morris
1e08695a1f
Repair go integration spec - we return 403s now
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 18:50:53 -08:00
Michael Desa
a245dd7c38
Move principal expiry into body of test
2017-12-05 14:31:26 -05:00
Michael Desa
87dcb3cfcd
Remove "impossible" state from tests
2017-12-05 14:25:59 -05:00
Michael Desa
ab6dfe2ac7
Add initial API integration tests
2017-12-04 15:56:53 -05:00