[docs] Error in access
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 48/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- php
調査の方向性
アクセス API ページを開いて contextlevel 行を確認し、その記載をリンク先の public/lib/accesslib.php の 4741-4764 行と比較してください。この設定が権限チェックと表示のグループ化にそれぞれどのような影響を与えるかを確認してください。表がその動作を正確に説明し、ドキュメントリンクの整合性が保たれていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What is the URL of the page?
https://moodledev.io/docs/4.1/apis/subsystems/access
What is the issue with this page?
In the table, contextlevel states
This capability can be checked with contexts that are at a lower level (e.g. moodle/site:accessallgroups could be checked with CONTEXT_MODULE).
However I do not believe this is true.
I tested this locally and regardless of what is set there, they can be checked anywhere. The only thing this seems to affect it how the permissions are grouped on pages like /admin/roles/check.php (e.g. via https://github.com/moodle/moodle/blob/8316779bd99bbf9f447b7244bc914452170f7eba/public/lib/accesslib.php#L4741-L4764 - which is only used for display)
Are you able to provide a patch for this?
Yes - I will create one
- 主要言語
- TypeScript
- スター
- 74
- フォーク
- 652
- 平均マージ
- 4日 13時間
- マージ済み PR(30日)
- 22
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
moodle/devdocs のほかの issue
-
[docs] Change notice for versions of Moodle only in security support対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug documentation help wanted needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
moodle/devdocs#1673 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation enhancement help wanted needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug documentation help wanted needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
Accessibility - SQL Indentation image alt text is the file name.対応中かも @travis-kuenzi が 138 日前に担当しました。 オープンbug documentation good first issue needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
moodle/devdocs#1395 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug documentation help wanted needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
moodle/devdocs#762 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
enhancement good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OWASP/cve-lite-cli#1335 ·
メンテナーはふだん 1 日以内に返信
-
Windows: main-screen mouse tracking requires WT_SESSION, so it never enables inside herdr panesオープン
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
code-yeongyu/senpi#3353 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Channels status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
mastra-ai/mastra#27093 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement needs-triage ui
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信