simplify authorization types so we can pass them deeper easily

This commit is contained in:
Bryan Stitt 2022-11-08 20:06:16 +00:00
parent c33342d9dd
commit c150ca612b
2 changed files with 3 additions and 0 deletions

View File

@ -228,6 +228,7 @@ These are roughly in order of completition
- we have bearer token auth for user_id, but rpc_key_id needs more code
- [x] use rpc_key_id instead of user_id in the redirect
- [x] /status should include the server weights
- [x] improve rate limiting anon ips
- [-] add configurable size limits to all the Caches
- instead of configuring each cache with MB sizes, have one value for total memory footprint and then percentages for each cache
- [ ] test that runs check_config against example.toml

View File

@ -9,6 +9,7 @@ mod m20221026_230819_rename_user_keys;
mod m20221027_002407_user_tiers;
mod m20221031_211916_clean_up;
mod m20221101_222349_archive_request;
mod m20221108_200345_save_anon_stats;
pub struct Migrator;
@ -25,6 +26,7 @@ impl MigratorTrait for Migrator {
Box::new(m20221027_002407_user_tiers::Migration),
Box::new(m20221031_211916_clean_up::Migration),
Box::new(m20221101_222349_archive_request::Migration),
Box::new(m20221108_200345_save_anon_stats::Migration),
]
}
}