Implement note access control #24

Open
opened 2025-12-16 15:55:56 +01:00 by vikingowl · 0 comments
Owner

Enforce visibility rules for notes.

Rules

  • Private notes: only author can view
  • Shared notes: author + selected users
  • Public notes: all campaign members
  • GM can see all player notes
  • Players can only see own + shared notes

Tasks

  • Create note_shares table for selective sharing
  • Add authorization middleware
  • Filter notes by visibility in queries
Enforce visibility rules for notes. ## Rules - [ ] Private notes: only author can view - [ ] Shared notes: author + selected users - [ ] Public notes: all campaign members - [ ] GM can see all player notes - [ ] Players can only see own + shared notes ## Tasks - [ ] Create note_shares table for selective sharing - [ ] Add authorization middleware - [ ] Filter notes by visibility in queries
vikingowl added this to the M3: Session Notes Alpha milestone 2025-12-16 15:55:56 +01:00
vikingowl added the apiauth labels 2025-12-16 15:55:56 +01:00
vikingowl added this to the Phase 2: Session Notes project 2025-12-16 16:06:39 +01:00
Sign in to join this conversation.