Pavel Zavora
5f9b990c16
chore(server): repair staticcheck errors
2022-04-21 22:41:00 +02:00
Pavel Zavora
7420d1a1db
feat(server): test setting up reader role as a default for an organization
2022-04-21 22:41:00 +02:00
Pavel Zavora
15dbecfb0f
feat(server): add reader role
2022-04-21 22:41:00 +02:00
Greg
1806d6c298
chore: tidy prior to kv refactor ( #5342 )
...
* Start cleaning up/reviewing for kv refactor
* Remove dependency on graceful http layer
* Remove deprecated cli option --new-sources
* Run gofmt and remove dep related files
* Update non-influx deps
* Update kapacitor dep
* Compile regexp's once
* Remove un-needed struct members
* Remove unused integrations code
2020-01-09 08:49:42 -07:00
Luke Morris
c136a2f5f0
Remove Public; Improve Tab Names
2018-02-09 16:00:27 -08:00
Luke Morris
67ac6a5a2f
Merge branch 'master' into feature/mappings
2018-02-09 11:42:07 -08:00
Michael Desa
8b60388d81
Add correct implementation of mappings
2018-02-05 14:54:39 -05:00
Michael Desa
2d7828b602
Nest user routes under organization
...
Add global user routes
2018-01-16 16:45:58 -05:00
Michael Desa
2eb68a3b36
Add mappings to organizations
...
Add links to organization response on me
2018-01-10 15:56:13 -05:00
Michael Desa
d8d20547ab
Change Organization ID to string from uint64
2017-12-19 10:13:43 -08:00
Chris Goller
8811fc3420
Fix vet for tests
2017-12-18 17:31:45 -08:00
Luke Morris
b3d0d6eeee
Address PR feedback.
2017-11-13 18:08:50 -08:00
Luke Morris
b543e64ef1
Make Public values explicit
2017-11-13 12:15:53 -08:00
Luke Morris
b731481fdc
Sew up failing tests
2017-11-13 11:47:34 -08:00
Luke Morris
31277c432c
Rename whitelistOnly => public
2017-11-10 18:23:41 -08:00
Michael Desa
dc1ee40bc6
Add WhitelistOnly to organizations
...
Fix adding default role to organization
2017-11-10 15:57:48 -05:00
Michael Desa
fe6f3bd673
Fix updating default role on organization
2017-11-10 14:55:21 -05:00
Michael Desa
85bb71033c
Expose some organization routes to admins
...
Cleanup tests appropriately
Prevent Admins from patching organizations
2017-11-10 12:48:10 -05:00
Michael Desa
7123eea6dc
Change UserKey to UserContextKey
2017-11-10 11:28:19 -05:00
Michael Desa
fbff6cea76
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
5f63e2738a
Refactor data stores into a common interface
2017-10-31 16:41:17 -04:00
Michael Desa
d220fc3e5e
Add tests for server/organizations.go
2017-10-23 14:16:52 -04:00