test(authz): bearer-authed admin cannot edit/cover NULL-uploader mangas (0.87.19)
0.87.10 followup from the rereview. The fix lacked a test for the specific axis it changed (admin authority via cookie only). New test mints a bearer for a promoted admin and asserts PATCH/PUT-cover/DELETE- cover all 403 on NULL-uploader rows. Mutation-confirmed. Also: `MultipartBuilder::finalize` now `pub` for bearer-multipart use; `admin_csrf_guard` rustdoc updated to describe the post-0.87.10 cookie-precedence rule. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2
backend/Cargo.lock
generated
2
backend/Cargo.lock
generated
@@ -1517,7 +1517,7 @@ checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
|
||||
|
||||
[[package]]
|
||||
name = "mangalord"
|
||||
version = "0.87.18"
|
||||
version = "0.87.19"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"argon2",
|
||||
|
||||
Reference in New Issue
Block a user