Files to create for Phase 2.5

1. backend/src/middleware/permission.rs
2. backend/src/handlers/shares.rs
3. backend/src/handlers/permissions.rs
4. backend/test-phase-2-5.sh
5. Update backend/src/handlers/mod.rs
6. Update backend/src/middleware/mod.rs
7. Update backend/src/main.rs
