docs: record the login throttle and admin guard decisions - #110
Merged
Conversation
Six rows under Authentication covering the per-email attempt limit: why per-email rather than per-IP, why the table is principal-scoped rather than a §11.2 exception, why the counter is one committed statement, why the digest and no pepper, the lockout tradeoff accepted explicitly, and the Accept-based split that keeps Retry-After for programmatic callers. Four rows under Admin surfaces covering the route group that breaks the redirect loop, the layout gating on authentication rather than authorization, React cache() making the guard's decision authoritative for a render, and the move of POST /admin/login to /admin/login/submit. One line under Working conventions: a recorded migration is never edited in place, because CI migrates from zero and cannot detect the drift. Signed-off-by: Matthew Wren <info@origindev.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Decisions from the browser-path session — #104, #106 and #108. No code.