TemaDeveloper / TemaDeveloper/personal_planner
feat: Collaborative editing — allow editors (not just viewers)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Currently sharing only supports 'view' permission. Add 'edit' permission so a supervisor or collaborator can add/modify entries in a shared section.
Scope:
- Extend ShareToken
permissionenum: 'view' | 'edit' - Add write endpoints for shared sections
- Permission checks in API routes
- Edit UI in share viewer page
This is a significant feature — needs design discussion first.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the ShareToken permission definition, the existing shared-section API routes, and the share viewer page. First resolve the design for edit permissions and write operations, then trace how permission checks apply across the API and UI. Done means edit tokens can modify shared-section entries while view tokens remain read-only, with the relevant tests or verification added.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mongodb, nextjs, react, typescript
- Domain
- authorization, full-stack
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100