Admin view of all users' download jobs and files, including soft-deleted ones
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 24/100
調査の方向性
Start by reading the implementation of CurrentUserExtension, the soft-delete filter, and issue #47 to understand how download jobs and files are currently scoped and retained. The proposal also calls for admin API operations and PWA views, plus restore and permanent-delete actions that remove files from disk. Agree on the endpoint design and required admin role first; done means admins can distinguish, restore, and permanently delete soft-deleted records.
索引モデルが issue の本文から書いたものです。
説明
Follow-up of #47.
Context
#47 soft-deletes DownloadJobs (when their owner deletes them) and DownloadedFiles (when all jobs linked to them are soft-deleted). The data is kept in the database, intended to be visible to admins, but no admin view exists:
CurrentUserExtensionrestricts every API query on owner-filterable resources to the current user's own records, admins included.- The gedmo soft-delete filter hides deleted records for everyone.
Proposal
- Let
ROLE_ADMIN(orROLE_DOWNLOAD-API_ADMIN) bypass the owner restriction inCurrentUserExtension, or add dedicated admin operations. - Disable the soft-delete filter for admins on those operations, and expose
deletedAtso deleted records can be told apart. - Admin actions on soft-deleted
DownloadedFiles: restore, and permanently delete (including removing the file from disk, which #47 deliberately never does automatically). - Admin panel (PWA) views for the above.
Open questions
- Reuse the existing endpoints with a role-based bypass, or separate
/admin/...operations? - Which role should get access:
ROLE_ADMINor onlyROLE_DOWNLOAD-API_ADMIN?
- 主要言語
- PHP
- スター
- 1
- フォーク
- 0
- 平均マージ
- 3日 50分
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
FetchDock/fetchdock-server のほかの issue
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
FetchDock/fetchdock-server#54 ·
メンテナーはふだん 1 日以内に返信
-
bug dependencies
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
FetchDock/fetchdock-server#53 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
FetchDock/fetchdock-server#23 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
FetchDock/fetchdock-server#22 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
FetchDock/fetchdock-server#21 ·
メンテナーはふだん 1 日以内に返信
FetchDock/fetchdock-server の issue をすべて見る
似ている issue
-
AI effort: [XS] priority: medium severity: minor type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Exclude module `require-dev` and `autoload-dev` from the generated `composer.json`対応中かも @keiserjb が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
uiowa/uiowa#10310 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mailcow/mailcow-dockerized#7677 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信