Spring Security ACL: the sec:permitted and sec:notPermitted tags fail when the plugin is inactive
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- groovy
調査の方向性
SecurityAclTagLib から始めてください。このクラスは sec:permitted と sec:notPermitted タグを定義しており、core または ACL プラグインが無効なときは aclUtilService が未定義のため失敗します。core の sec タグがすでに使用している早期リターンのガードと比較してください。これは #16972 の変更です。同じガードを両方の ACL タグに追加し、そのうえでこれらを使用する GSP がプラグイン無効時に例外を投げず、空の出力を描画することを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Follow-up from the review of #16972 (the sec: tags render nothing when the plugin is inactive).
SecurityAclTagLib also puts tags in the sec namespace, sec:permitted and sec:notPermitted. They have the same problem when the core or the ACL plugin is inactive, because aclUtilService is not defined then, so a GSP that uses them fails instead of rendering. They could return early the way the core tags now do.
- 主要言語
- Groovy
- スター
- 2.9k
- フォーク
- 980
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 148
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/grails-core のほかの issue
-
NavigableMapConfig: the Javadoc of WINDOWS_NAME_ORDER should name the JDK comparator it mirrorsオープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
apache/grails-core#17133 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
apache/grails-core#17132 ·
メンテナーはふだん 1 日以内に返信
-
MongoDB: shorten the index creation ERROR line and quiet the test output of grails-data-mongodb-coreオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
apache/grails-core#17129 ·
メンテナーはふだん 1 日以内に返信
-
In-memory store: a criteria block on a to-one association mapped under another key matches nothingオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
apache/grails-core#17112 ·
メンテナーはふだん 1 日以内に返信
-
A flushed save of a plain class survives a failed tenant transaction対応中かも @ruthst00 が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/grails-core#17031 ·
メンテナーはふだん 1 日以内に返信
apache/grails-core の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
content 📝 feature ✨ security 🔐
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ActivistChecklist/ActivistChecklist#925 ·
メンテナーはふだん 1 日以内に返信
-
documentation security TASK web
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ikostan/SkyLockAssault#1245 ·
メンテナーはふだん 1 日以内に返信
-
Backend bug severity: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
RunningJoke/allipunkte#64 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信