AletheiaFact / AletheiaFact/aletheia

Bug: Restrict verification-request access to staff

オープン 初心者向け
#2,483 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
TypeScript
スター
55
フォーク
20
平均マージ
2日 6時間
マージ済み PR(30日)
2

説明

### Background Information
The `verification-request` route/feature is currently accessible to unauthorized users. Access should be restricted to staff members only.

### Steps to Reproduce
1. Authenticate as a regular (non-staff) user
2. Attempt to access the `verification-request` endpoint or page
3. Observe that access is incorrectly granted

### How
Add a permission check (guard/middleware) to ensure only users with a staff role can access `verification-request` resources.

### Expected Behavior
Non-staff users should receive a `403 Forbidden` error when attempting to access `verification-request`.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by locating the `verification-request` route or page and inspect nearby permission guards or middleware. Reproduce the access with a regular user, then verify that staff users retain access while non-staff users receive a `403 Forbidden` response.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
nodejs, typescript
領域
authorization, backend-api-design, security
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
68/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。