Autocomplete permission
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 領域
- authorization, backend
調査の方向性
まず、示されている autocomplete の権限チェックを追跡し、既存の index の権限処理と比較します。これらの権限がどこで定義され、使用されているかを特定します。autocomplete を独立して付与でき、index へのアクセスは制限されたままになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The permissions required to access autocomplete are the same as those required to access the index. There should be a dedicated permission for autocomplete.
// not a typo; we intentionally reuse the INDEX action for permission checks in autocomplete
if (!$this->isGranted(Permission::EA_EXECUTE_ACTION, ['action' => Action::INDEX, 'entity' => null, 'entityFqcn' => $context->getEntity()->getFqcn()])) {
throw new ForbiddenActionException($context);
}
Example:
User 1 is allowed to administer the entity (and therefore has access to the index).
User 2 should be allowed to use the entity through autocomplete without being able to access the index.
- 主要言語
- PHP
- スター
- 4.3k
- フォーク
- 1.1k
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 52
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
EasyCorp/EasyAdminBundle のほかの issue
-
bug design
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
EasyCorp/EasyAdminBundle#7958 ·
メンテナーはふだん 2 日以内に返信
-
design feature
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
EasyCorp/EasyAdminBundle#7930 ·
メンテナーはふだん 2 日以内に返信
-
design
難易度 2/5 1時間未満 初心者へのやさしさ 88/100
EasyCorp/EasyAdminBundle#7879 ·
メンテナーはふだん 2 日以内に返信
-
design
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
EasyCorp/EasyAdminBundle#7875 ·
メンテナーはふだん 2 日以内に返信
-
#[AdminRoute]: the requirements of an action silently replace the ones of the class対応中かも @anthonyhacart が 2 日前に担当しました。 オープンfeature
難易度 3/5 半日 初心者へのやさしさ 30/100
EasyCorp/EasyAdminBundle#7956 ·
メンテナーはふだん 2 日以内に返信
EasyCorp/EasyAdminBundle の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
taskforcesh/bullmq#5238 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] v-change-database-password reports success but doesn't change the password when MySQL validate_password rejects it対応中かも @bfs2021 が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Automattic/jetpack#55517 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
-
area/import type/enhancement when/later
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信