Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[docs] Error in access

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

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

@matthewhilton がすでに取り組んでいます。

2026年1月8日 から。

  • #1497 @matthewhilton による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php

調査の方向性

アクセス API ページを開いて contextlevel 行を確認し、その記載をリンク先の public/lib/accesslib.php の 4741-4764 行と比較してください。この設定が権限チェックと表示のグループ化にそれぞれどのような影響を与えるかを確認してください。表がその動作を正確に説明し、ドキュメントリンクの整合性が保たれていれば完了です。

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

説明

bug documentation help wanted needs-triage
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

環境構築

はじめの一歩

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

moodle/devdocs のほかの issue

moodle/devdocs の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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