Skip to content

[docs] access: update meaning of contextlevel#1497

Open
matthewhilton wants to merge 1 commit intomoodle:mainfrom
matthewhilton:1496-fix-error
Open

[docs] access: update meaning of contextlevel#1497
matthewhilton wants to merge 1 commit intomoodle:mainfrom
matthewhilton:1496-fix-error

Conversation

@matthewhilton
Copy link

Closes #1496

@netlify
Copy link

netlify bot commented Jan 8, 2026

Deploy Preview for moodledevdocs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 763d1c6
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/695efd50f2be450008d9eade
😎 Deploy Preview https://deploy-preview-1497--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

| `riskbitmask` | associated risks. These are explained on [Hardening new Roles system](./roles.md). |
| `captype` | _read_ or _write_ capability type, for security reasons system prevents all write capabilities for guest account and not-logged-in users |
| `contextlevel` | specified as context level constant. Declares the typical context level where this capability is checked. This capability can be checked with contexts that are at a lower level (e.g. `moodle/site:accessallgroups` could be checked with CONTEXT_MODULE). |
| `contextlevel` | specified as context level constant. Declares the typical context level where this capability is checked. This is used for grouping and does not affect where it can be assigned. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't correct, what are you proposing here?

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] Error in access

2 participants