Compare commits
No commits in common. "a178623e42546ef6065f297f8365e7feb6860810" and "2fe96faf5328a06190723c71e02d45d897eda1ef" have entirely different histories.
a178623e42
...
2fe96faf53
|
|
@ -1,10 +1,9 @@
|
||||||
---
|
---
|
||||||
id: task-052
|
id: task-052
|
||||||
title: 'Flip permissions model: everyone edits by default, protected boards opt-in'
|
title: 'Flip permissions model: everyone edits by default, protected boards opt-in'
|
||||||
status: Done
|
status: In Progress
|
||||||
assignee: []
|
assignee: []
|
||||||
created_date: '2025-12-15 17:23'
|
created_date: '2025-12-15 17:23'
|
||||||
updated_date: '2025-12-15 17:45'
|
|
||||||
labels: []
|
labels: []
|
||||||
dependencies: []
|
dependencies: []
|
||||||
priority: high
|
priority: high
|
||||||
|
|
@ -33,17 +32,3 @@ Key changes:
|
||||||
- [ ] #5 Can add/remove editors on protected boards
|
- [ ] #5 Can add/remove editors on protected boards
|
||||||
- [ ] #6 Admin request button sends email
|
- [ ] #6 Admin request button sends email
|
||||||
<!-- AC:END -->
|
<!-- AC:END -->
|
||||||
|
|
||||||
## Implementation Notes
|
|
||||||
|
|
||||||
<!-- SECTION:NOTES:BEGIN -->
|
|
||||||
Pushed to dev branch (commit 2fe96fa)
|
|
||||||
|
|
||||||
Backend: schema.sql, boardPermissions.ts, types.ts, worker.ts updated
|
|
||||||
|
|
||||||
Frontend: BoardSettingsDropdown.tsx created, AuthContext.tsx and Board.tsx updated
|
|
||||||
|
|
||||||
Migration script created at worker/migrations/001_add_protected_boards.sql
|
|
||||||
|
|
||||||
NEXT STEPS: Run D1 migration on Cloudflare, add BoardSettingsDropdown to UI, test
|
|
||||||
<!-- SECTION:NOTES:END -->
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ import { NetworkGraphPanel } from "../components/networking"
|
||||||
import CryptIDDropdown from "../components/auth/CryptIDDropdown"
|
import CryptIDDropdown from "../components/auth/CryptIDDropdown"
|
||||||
import StarBoardButton from "../components/StarBoardButton"
|
import StarBoardButton from "../components/StarBoardButton"
|
||||||
import ShareBoardButton from "../components/ShareBoardButton"
|
import ShareBoardButton from "../components/ShareBoardButton"
|
||||||
import BoardSettingsDropdown from "../components/BoardSettingsDropdown"
|
|
||||||
import { SettingsDialog } from "./SettingsDialog"
|
import { SettingsDialog } from "./SettingsDialog"
|
||||||
// import { VersionHistoryPanel } from "../components/history" // TODO: Re-enable when version reversion is ready
|
// import { VersionHistoryPanel } from "../components/history" // TODO: Re-enable when version reversion is ready
|
||||||
import { useAuth } from "../context/AuthContext"
|
import { useAuth } from "../context/AuthContext"
|
||||||
|
|
@ -325,13 +324,6 @@ function CustomSharePanel() {
|
||||||
|
|
||||||
<Separator />
|
<Separator />
|
||||||
|
|
||||||
{/* Board settings (protection toggle, editor management) */}
|
|
||||||
<div style={{ padding: '0 2px' }}>
|
|
||||||
<BoardSettingsDropdown className="share-panel-btn" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<Separator />
|
|
||||||
|
|
||||||
{/* Star board button */}
|
{/* Star board button */}
|
||||||
<div style={{ padding: '0 2px' }}>
|
<div style={{ padding: '0 2px' }}>
|
||||||
<StarBoardButton className="share-panel-btn" />
|
<StarBoardButton className="share-panel-btn" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue