NEW PERMISSION MODEL: - All users (including anonymous) can now EDIT by default - Boards can be marked as "protected" by admin - only listed editors can edit - Global admins (jeffemmett@gmail.com) have admin on ALL boards - Added BoardSettingsDropdown with view-only toggle for admins Backend changes: - Added is_protected column to boards table - Added global_admins table - New getEffectivePermission logic prioritizes: token > global admin > owner > protection status - New API endpoints: /auth/global-admin-status, /admin/request, /boards/:id/info, /boards/:id/editors - Admin request sends email via Resend API Frontend changes: - BoardSettingsDropdown component with protection toggle and editor management - Updated AuthContext and Board.tsx to default to 'edit' permission - isReadOnly now only true for protected boards where user is not an editor Task: task-052 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Auth.tsx | ||
| Board.tsx | ||
| Contact.tsx | ||
| Dashboard.tsx | ||
| Default.tsx | ||
| Inbox.tsx | ||
| LinkDevice.tsx | ||
| Presentations.tsx | ||
| Resilience.tsx | ||
| VerifyEmail.tsx | ||