Zachary Wasserman
7e26b915c5
Refactoring and fixes in user authorization
...
- Simplify/fix logic for authorization
- Rename/refactor for clarity
- Add tests for auth related code
2018-09-18 14:56:25 -04:00
ferhat elmas
9e0912e2f3
General simplification in go part ( #1658 )
...
* don't check if error is nil, return it
* don't compare bool to bool, use it
* don't supply capacity to make for slice when len
is equal to cap
2017-12-04 09:43:43 -05:00
Mike Arpaia
018b91ab2c
Rename project to Kolide Fleet ( #1529 )
2017-06-22 15:50:45 -04:00
Zachary Wasserman
715d908613
Update go-kit to 0.4.0 ( #1411 )
...
Notable refactoring:
- Use stdlib "context" in place of "golang.org/x/net/context"
- Go-kit no longer wraps errors, so we remove the unwrap in transport_error.go
- Use MakeHandler when setting up endpoint tests (fixes test bug caught during
this refactoring)
Closes #1411 .
2017-03-15 08:55:30 -07:00
Mike Arpaia
a000751bfe
renaming kolide-ose to kolide ( #1143 )
2017-02-01 10:20:50 -07:00
Mike Arpaia
a047ef2211
Quick contexts additions ( #739 )
...
* Defining a concrete type for session tokens
* More rightish vc.IsLoggedIn()
* using type conversion instead of a method call
* include sessions in test viewer contexts
2017-01-09 08:10:02 -07:00
Mike Arpaia
23c86f6c12
Ensure author name and packs are set in NewQuery response ( #774 )
2017-01-05 18:48:56 -07:00
Zachary Wasserman
0faa3a55fb
Make context imports consistent ( #359 )
2016-10-31 15:18:05 -07:00
Zachary Wasserman
d2e31146c6
Fix bugs with password resets ( #330 )
...
- Permissions error with admin forced password reset
- Redirecting on successful admin forced password reset
- URL fix for forgot password reset
- Use JWT key for password reset request
2016-10-20 15:09:51 -04:00
Mike Arpaia
0482f12926
Organizing go code ( #241 )
2016-09-26 11:48:55 -07:00
Victor Vrantchan
372dac8304
Create context packages ( #228 )
...
add token context package
add viewer context package
add host context package
update authenticated middleware to set viewer context or return error
re-organize API handler
2016-09-26 13:14:39 -04:00