feat: IP bans #133

Merged
treadful merged 4 commits from feat/ip-bans into main 2026-06-28 00:14:55 +00:00
Owner

Closes #129

Closes #129
feat: Implements IP bans
Some checks failed
/ test-and-check (pull_request) Failing after 17m22s
988f14c47b
fix(test): updated tests for API changes
All checks were successful
/ test-and-check (pull_request) Successful in 20m2s
4110435b66
@ -31,0 +33,4 @@
return Err(AuthError::Unauthenticated(
"IP not allowed".to_string(),
));
}
Author
Owner

Should probably also check in authorize().

Should probably also check in `authorize()`.
treadful marked this conversation as resolved
@ -145,6 +145,7 @@ impl Backend for FsBackend {
&self,
short_id: &ShortId,
) -> Result<Option<AllowDenyList>, BackendError> {
trace!("get_allow_deny_list()");
Author
Owner

axe

axe
treadful marked this conversation as resolved
treadful deleted branch feat/ip-bans 2026-06-28 00:14:56 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
treadful/jot!133
No description provided.