Skip to content

docs: clarify capability contextlevel guidance#1615

Open
ded-furby wants to merge 1 commit into
moodle:mainfrom
ded-furby:docs/contextlevel-guidance-1339
Open

docs: clarify capability contextlevel guidance#1615
ded-furby wants to merge 1 commit into
moodle:mainfrom
ded-furby:docs/contextlevel-guidance-1339

Conversation

@ded-furby

@ded-furby ded-furby commented Jun 13, 2026

Copy link
Copy Markdown

Summary

  • explain that contextlevel should match the highest context where a capability is checked and overridden
  • add the override-screen example for moodle/site:config
  • backport the clarification to the current docs plus versions 4.5, 5.0, 5.1, and 5.2

Closes #1339

Validation

  • corepack yarn mdlint docs/apis/subsystems/access.md versioned_docs/version-4.5/apis/subsystems/access.md versioned_docs/version-5.0/apis/subsystems/access.md versioned_docs/version-5.1/apis/subsystems/access.md versioned_docs/version-5.2/apis/subsystems/access.md
  • repository lint-staged hook (markdownlint-cli2 --fix and cspell --no-must-find-files --no-progress) ran during commit

@netlify

netlify Bot commented Jun 13, 2026

Copy link
Copy Markdown

Deploy Preview for moodledevdocs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 73d063d
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/6a2da67b3841b20008ef6e78
😎 Deploy Preview https://deploy-preview-1615--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs] Improve documentation around capability contextlevel in the docs

1 participant