Bulk selection by filter checks access one entry at a time

オープン
#3,283 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp

調査の方向性

Start with ContentService.Bulk.cs:160-183 and compare its per-entry CanAccessEntryAsync calls with AuthorizationEvaluator.AccessibleEntriesAsync. Trace how selected ids are paged and how access results are used before writes. Done means selecting a page uses a constant number of access queries; verify this with the relevant tests or query-count checks.

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

説明

area:authorization area:content performance type:bug

Problem

ContentService.Bulk.cs:160-183 calls CanAccessEntryAsync for every selected entry (one or two queries each), up to about 11,000 round trips before any write, though AuthorizationEvaluator.AccessibleEntriesAsync checks a set at once.

Proposal

Check each page of ids with AccessibleEntriesAsync.

Acceptance

  • Selecting a page of entries runs a constant number of access queries

Found in the code review of 17 Nov 2026 (P4).

主要言語
C#
スター
569
フォーク
107
平均マージ
2時間 49分
マージ済み PR(30日)
397

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fluentcms/FluentCMS のほかの issue

fluentcms/FluentCMS の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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