Evaluate: User Preferences API (cross-collection isolation)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- typescript
- Lĩnh vực
- api, authentication, backend
Hướng nghiên cứu
This is a product decision, not a code task. Read the auth hardening review in #956 first, then decide whether a per-user preferences API is worth building, or record a wontfix. The issue names the planned route /auth/preferences/:key and a user_preference document type, but no existing files. Done means the decision is recorded on the issue, and only if it is build does it become a backend implementation with tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Follow-up to #956 (auth hardening review). Functionality gap — needs a product decision.
Gap
There is no per-user key/value Preferences API (CRUD, one-value-per-key-per-user, cross-collection isolation) for storing admin/user UI state server-side. We have no equivalent.
Decision needed
Is this worth building for SonicJS? Our admin is HTMX, so the usual driver (a heavy SPA admin persisting per-user UI state) may not apply.
If we proceed:
- Document-model backed (
user_preferencetype, owner-scoped, PII). GET/POST/DELETE /auth/preferences/:keyscoped to the current user.- Enforce one value per (user, key); isolate by user id.
Acceptance
- Decision recorded (build / wontfix). If build: document-backed impl + tests.
- Ngôn ngữ chính
- TypeScript
- Star
- 1.8k
- Fork
- 219
- Merge trung bình
- 2 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 67
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SonicJs-Org/sonicjs
-
bug(admin/users): server error returns bare alert HTML causing black-shape visual artifactCó thể đã có người làm @lane711 đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
SonicJs-Org/sonicjs#1211 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: api bug priority: P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
SonicJs-Org/sonicjs#1200 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ResendProvider cannot send on Workers: unbound `fetch` stored as an instance property throws "Illegal invocation"Có thể đã có người làm @lane711 đã nhận 23 ngày trước. Đang mởarea: email bug priority: P1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
SonicJs-Org/sonicjs#1099 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Email plugin settings are never read: loadDbEmailSettings queries a v2 `plugins` table that does not exist in v3Có thể đã có người làm @lane711 đã nhận 23 ngày trước. Đang mởarea: email bug priority: P1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
SonicJs-Org/sonicjs#1098 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: documentation bug documentation priority: P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
SonicJs-Org/sonicjs#1012 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của SonicJs-Org/sonicjs
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
liberation-data/drivine#826 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
【优化】“打开文件列表”,建议对当前文件进行高对比度标注Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
zhitongblog/solomd#623 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
aufwand: klein documentation Einsteiger-Familie freigegeben Haushalts-Admin
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement frontend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
openwallet-foundation/eudiplo#1600 ·
-
docs(website): add a GitLab CI/CD button next to the GitHub Action button on the homepageCó thể đã có người làm @shryssssss-maker đã nhận hôm nay. Đang mởdocumentation enhancement first-timers-only good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
OWASP/cve-lite-cli#1739 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày