Feature Request: Access Control for Viewing Articles
メンテナーはふだん 6 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- go
- 領域
- authorization, backend
調査の方向性
Issue ではファイル、テスト、エントリポイントが特定されていないため、まずリポジトリ内で記事の閲覧、ユーザーグループ、権限管理のエントリポイントを見つけます。完了とするには、合意されたアクセス制御設計、記事とグループ間の権限、権限のない閲覧者に対する強制適用、および拒否またはリダイレクト時のレスポンスの定義が必要です。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe
Currently, all users can browse all articles without any access restrictions. However, in some cases, we need to limit access so that only specific user groups can view certain articles.
Describe the solution you'd like
I would like to request a permission-based access control system for browsing articles. Specifically:
Each article should have an associated access group.
Only users belonging to the assigned group should be able to view the article.
Unauthorized users should receive a "Permission Denied" message or be redirected to a different page.
Describe alternatives you've considered
A few potential solutions could be:
Role-based access control (RBAC): Define roles (e.g., admin, editor, viewer) and associate them with article access.
Group-based permissions: Users can belong to different groups, and articles can be restricted to specific groups.
Tag-based restrictions: Articles could be tagged with access control levels (e.g., "internal only", "public").
Additional context
This feature would enhance security and provide more control over sensitive or internal articles.
It would be helpful if there were an admin panel where permissions could be managed easily.
- 主要言語
- Go
- スター
- 15.7k
- フォーク
- 1.4k
- 平均マージ
- 9日 6時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/answer のほかの issue
-
Hardening: cap the invite_user list size in UpdateQuestionInviteUser to bound notification fan-out対応中かも @TastyHeadphones が 47 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
apache/answer#1617 · コメント 1 件 ·
メンテナーはふだん 6 日以内に返信
-
Admin AI settings silently reset the assistant prompt, which cannot be edited in the UI対応中かも @Andy-Sverdlov-LucaNet が 64 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 6 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 75/100
apache/answer#158 · コメント 16 件 ·
メンテナーはふだん 6 日以内に返信
-
Server-rendered <time datetime> and JSON-LD dates ignore the site time zone (server-local wall clock labeled as UTC)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
apache/answer#1669 · コメント 1 件 ·
メンテナーはふだん 6 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
メンテナーはふだん 6 日以内に返信
似ている issue
-
team:library-maintainers
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
padok-team/burrito#1208 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
bazel-contrib/rules_go#4784 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
POSIdev-community/aictl#40 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
prime-radiant-inc/evener#6306 ·
メンテナーはふだん 1 日以内に返信