TemaDeveloper / TemaDeveloper/personal_planner

feat: Collaborative editing — allow editors (not just viewers)

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
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 permission enum: '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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.