Anonymous Feedback
Unauthenticated route for staff to share sensitive concerns
Danvas includes an anonymous feedback route that allows staff to submit concerns without authentication. This enables sharing of sensitive issues that might otherwise go unreported.
Overview
The anonymous feedback feature provides:
- No authentication required — staff can submit without logging in
- No user tracking — no database user ID stored
- IP rate limiting — prevents abuse (5 submissions/hour per IP)
- Optional location context — can specify location without identifying self
Route
POST /anonymous-feedbackThis route is in the (unauthenticated) route group and is excluded from auth middleware.
How It Works
Submission Flow
- Staff navigates to the anonymous feedback URL
- Optionally selects a location from dropdown
- Enters feedback text (1-5000 characters)
- Submits form
- Server validates, rate-limits, and stores
- Optional Slack notification to configured channel