Michael Desa
39b9a90900
Remove organization LayoutsStore
2017-12-05 17:14:21 -05:00
Jared Scheib
7eed603bf7
Change ErrOrganizationNameTaken to ErrOrganizationAlreadyExists for consistency
2017-11-30 20:12:00 -08:00
Luke Morris
b3d0d6eeee
Address PR feedback.
2017-11-13 18:08:50 -08:00
Luke Morris
31277c432c
Rename whitelistOnly => public
2017-11-10 18:23:41 -08:00
Michael Desa
173d1f2d71
Check WhitelistOnly setting on default org in Me
...
Set DefaultOrganizationWhitelistOnly to false
Set DefaultOrganizationRole on new user in Me
2017-11-10 16:15:29 -05:00
Michael Desa
fe6f3bd673
Fix updating default role on organization
2017-11-10 14:55:21 -05:00
Michael Desa
569ae2ce4b
Add test for deleting default organization
...
Group together constants
2017-11-06 10:17:15 -05:00
Michael Desa
f92fc37f17
Change default organization name to Default
2017-11-06 10:15:50 -05:00
Michael Desa
440f2ed2b5
Prevent deletion of default organization
2017-11-06 10:14:14 -05:00
Michael Desa
3370774e8f
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
45f1410fd6
Add default role to chronograf.Organization
2017-11-06 09:46:00 -05:00
Michael Desa
ac3a175c75
Ensure uniqueness of organization names in bolt
2017-11-02 13:04:41 -04:00
Michael Desa
78754bdbda
Add dependent destroy of resources for organization
2017-11-01 17:12:31 -04:00
Michael Desa
6fbfde5060
Add comments throughout codebase
2017-11-01 12:30:42 -04:00
Michael Desa
39d3488749
Fix Migrate Organizations to not overwrite name
2017-11-01 10:55:32 -04:00
Michael Desa
a9d5bf9c05
WIP cleanup
2017-10-31 20:58:40 -04:00
Michael de Sa
bea78d0c84
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
30b8d3cdca
Make all Store names plural for consistency
2017-10-24 15:54:24 -07:00
Jared Scheib
ff575f3ca8
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
9a8e96378a
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
2d8d2dcee7
Implement basic bolt OrganizationsStore
2017-10-20 11:13:13 -04:00
Jared Scheib
2447185071
Add bolt implementation of OrganizationsStore
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-20 09:17:00 -05:00