Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rust: fix macaroon expiry check | Bryan Newbold | 2019-04-09 | 1 | -0/+7 |
| | | | | | | | | | | | | | There were two bugs with this code: the expiry timestamps were getting enclosed in double-quotes (which caused parse bugs), and the actual caveat check itself was backwards (expires < now instead of expires > now). An underlying issue was that these caveats weren't actually getting checked in the tests. Should fix a bug where users don't get auth'd correctly when logging in via mechanisms other than tokens. | ||||
* | refactor: FatCatId -> FatcatId | Bryan Newbold | 2019-01-09 | 1 | -3/+3 |
| | |||||
* | huge refactor of rust modules/files | Bryan Newbold | 2019-01-08 | 1 | -10/+7 |
| | | | | | | Taking advantage of new Rust 2018 crate/module path changes, and re-organizing things. Somewhat optimistic this could help with partial rebuild speed also. | ||||
* | squelch more build warnings | Bryan Newbold | 2019-01-08 | 1 | -1/+0 |
| | |||||
* | rust fmt | Bryan Newbold | 2019-01-08 | 1 | -1/+2 |
| | |||||
* | iterate on macaroon time caveat names | Bryan Newbold | 2019-01-08 | 1 | -2/+1 |
| | |||||
* | add superuser role/flag | Bryan Newbold | 2019-01-04 | 1 | -3/+3 |
| | |||||
* | crude admin auth in tests | Bryan Newbold | 2018-12-31 | 1 | -1/+2 |
| | |||||
* | rustfmt; implement role-based auth checks | Bryan Newbold | 2018-12-31 | 1 | -7/+5 |
| | |||||
* | include unwrap() in tests | Bryan Newbold | 2018-12-29 | 1 | -1/+1 |
| | |||||
* | basic auth unittests | Bryan Newbold | 2018-12-28 | 1 | -0/+48 |