Add granular user permission settings
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
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- csharp
- Lĩnh vực
- authorization, backend-api-design
Hướng nghiên cứu
Start by reading the existing MCP/OAuth scope handling and the current app/API authorization policies; the issue does not name specific files or tests. Then map how organization memberships and the new Svelte system/settings area fit the proposed permission model. Done means administrators can manage persisted permissions, restricted users are blocked server-side, existing access stays compatible, and tests cover permission and OAuth scope intersections.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Add general user permission settings so Exceptionless can grant users more granular access than today’s broad user/admin roles, and use that model as the long-term foundation for app, API, MCP, and OAuth authorization.
Why
The MCP/OAuth work introduces granular scopes such as projects:read, stacks:read, stacks:write, and events:read. The normal app/API still mostly uses broader roles like user, client, and global. Users have asked for more security controls for their users, and we should avoid building parallel permission systems for MCP/OAuth and the main app.
Proposed scope
- Define a durable organization/user permission model.
- Store permissions per user per organization or membership, rather than only on OAuth clients.
- Add management UI in the new Svelte system/settings area.
- Make normal app/API authorization respect those permissions while preserving existing behavior by default.
- Ensure OAuth scopes cannot grant more access than the signed-in user actually has.
- Align MCP tools, OAuth API access, and app/API authorization around the same permission concepts over time.
Suggested first pass
- Keep default behavior backwards compatible: existing users retain their current access unless permissions are explicitly restricted.
- Start with coarse but useful permissions that map to current MCP/OAuth scopes:
- projects read
- stacks read
- stacks write
- events read
- administrative/system settings access, if needed separately
- Add server-side enforcement before relying on UI-only restrictions.
- Avoid replacing all existing controller policies in one PR; migrate high-value surfaces first.
Acceptance criteria
- Organization administrators can view and edit user permissions in the new UI.
- Permissions are persisted and included in authorization decisions.
- Existing unrestricted users continue to behave as they do today.
- Restricted users cannot access disallowed API/app functionality by direct API calls.
- OAuth/MCP authorization is bounded by both requested scopes and the signed-in user’s permissions.
- Tests cover default compatibility, restricted access, allowed access, and OAuth scope + user permission intersection.
- Ngôn ngữ chính
- C#
- Star
- 2.5k
- Fork
- 508
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 40
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Không 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 exceptionless/Exceptionless
-
bug documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
exceptionless/Exceptionless#2707 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
exceptionless/Exceptionless#2706 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
exceptionless/Exceptionless#2705 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
exceptionless/Exceptionless#2704 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
exceptionless/Exceptionless#2703 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của exceptionless/Exceptionless
Issue tương tự
-
Add dependency list in documentsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Add 'upm' tag on githubĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug mac アプリ: コード アプリ: チャット 優先: 中 要トリアージ
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
yksr-melt/Meltype#1346 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Collect corrected translations in the app, with no GitHub account and the least possible frictionĐang mởlocalization medium ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
hexide-io/HexIDE#2819 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày