Luke Morris
338916a340
Address PR feedback.
2017-11-13 18:08:50 -08:00
Luke Morris
0424f9f92e
Make Public values explicit
2017-11-13 12:15:53 -08:00
Luke Morris
1aebbf2bd4
Clear test noise
2017-11-10 18:45:25 -08:00
Luke Morris
6d2c7e18d1
Rename whitelistOnly => public
2017-11-10 18:23:41 -08:00
Michael Desa
b110a28278
Add WhitelistOnly to organizations
...
Fix adding default role to organization
2017-11-10 15:57:48 -05:00
Michael Desa
cc6f703f5d
Fix updating default role on organization
2017-11-10 14:55:21 -05:00
Michael Desa
1c48601792
Add test for deleting default organization
...
Group together constants
2017-11-06 10:17:15 -05:00
Michael Desa
999f6c6a24
Change default organization name to Default
2017-11-06 10:15:50 -05:00
Michael Desa
7200aaf9f9
Add default org logic to OrganizationsStore
...
Update resource handlers to appropriate consume default organization IDs
2017-11-06 10:14:12 -05:00
Michael Desa
63f7d8205c
Add default role to chronograf.Organization
2017-11-06 09:46:00 -05:00
Michael Desa
bf22d1d57d
Ensure uniqueness of organization names in bolt
2017-11-02 13:04:41 -04:00
Michael Desa
37dc13d2c5
Fix organizations for default organization
2017-11-01 09:17:34 -04:00
Michael de Sa
e56299e72f
Remove Organization from bolt Stores
...
Previously, each store depended on having an organization set on the
implentation of a store. This was used to segment different
organizations into different buckets. This PR undoes that work.
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-25 14:29:14 -04:00
Jared Scheib
3b2818688a
Make all Store names plural for consistency
2017-10-24 15:54:24 -07:00
Michael de Sa
f873736c7c
Remove printing from Organization tests
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-23 12:08:49 -07:00
Jared Scheib
292bf00320
Rename Org field on stores to Organization
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-23 12:08:11 -07:00
Michael de Sa
faac66a9bd
Nest resources under Organizations
...
For each organization, we create a set of buckets for each associated
resource (sources, servers, layouts, and dashbaords).
The bucket name is the path join of the resource bucket name and the
oranizations name. If the organizations name is empty, then the bucket
name is the resource bucket name (this is backwards compatible with how
resources are currently stored).
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-20 13:50:19 -04:00
Michael Desa
de6ae41c60
Implement basic bolt OrganizationsStore
2017-10-20 11:13:13 -04:00
Jared Scheib
41386ca546
Add bolt implementation of OrganizationsStore
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-20 09:17:00 -05:00