Luke Morris
338916a340
Address PR feedback.
2017-11-13 18:08:50 -08:00
Luke Morris
9eccded4b2
Reuse chronograf.Organization type
2017-11-10 18:31:30 -08:00
Luke Morris
6d2c7e18d1
Rename whitelistOnly => public
2017-11-10 18:23:41 -08:00
Luke Morris
5fbf1e140a
Persist whitelistOnly changes to default organization
2017-11-10 16:43:11 -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
3ce6e46b75
Add user that made the request to organization
...
Previously, when an org was created it had no users. Now when an
organization is created, the user that made the request is added to the
organization with the admin role.
If there are any errors when adding the user the organization, we make a
best effort attempt to delete the organization. However it is still
possilbe that an organization would be created, but have no users if our
best effort fails.
2017-11-10 11:20:56 -05:00
Michael Desa
bd4d5c6cc3
Fix role related tests after rebase
2017-11-06 11:31:44 -05:00
Michael Desa
63f7d8205c
Add default role to chronograf.Organization
2017-11-06 09:46:00 -05:00
Michael Desa
986f86d99c
Fix relevant go-vet/go-lint for server package
2017-11-01 16:43:31 -04:00
Michael Desa
569978b4f7
Add parseOrganizationID method
2017-11-01 12:34:00 -04:00
Michael Desa
36e14cb111
Refactor data stores into a common interface
2017-10-31 16:41:17 -04:00
Michael Desa
3f3e7a5662
Fix typo in organization comment
2017-10-23 14:16:31 -04:00
Michael Desa
b5e73dfd46
Add CRUD routes for organizations
2017-10-20 15:42:34 -04:00