feat(server): grant-scope org attachment write paths (v0.8.1 Stream D) #8
Reference in New Issue
Block a user
Delete Branch "feature/v0.8.1-dev-d-server-hook"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Extends classify_path to classify attachments///.enc (exactly 3 segments) as PathClass::Item{collection: slug}, converting org attachment writes from Unrestricted to grant-scoped (closes a latent authz gap). Mirrors items/ branch guards; dot-free guard on slug (segment[0]) only. Bumps relicario-server 0.1.0 -> 0.1.1 and documents the required pre-receive hook redeploy in docs/SECURITY.md. 5 server tests (3 spec + 2 hardening); full server suite 23 green. Contract matches Dev-C save_attachment emitter (confirmed via PM).
Pull request closed