Add granular user permission settings
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- csharp
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 2.5k
- フォーク
- 508
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 40
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
exceptionless/Exceptionless のほかの issue
-
bug documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
exceptionless/Exceptionless#2707 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
exceptionless/Exceptionless#2706 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
exceptionless/Exceptionless#2705 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
exceptionless/Exceptionless#2704 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
exceptionless/Exceptionless#2703 ·
メンテナーはふだん 1 日以内に返信
exceptionless/Exceptionless の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
area: core priority: low type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
RicoSuter/Namotion.Interceptor#863 ·
メンテナーはふだん 1 日以内に返信
-
area-cli
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
0.3.0
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 2 日以内に返信