= [
'qbank/customfields:changelockedcustomfields' => [
'captype' => 'write',
'archetypes' => [
],
],
'qbank/customfields:configurecustomfields' => [
'captype' => 'write',
'clonepermissionsfrom' => 'moodle/site:config'
],
'qbank/customfields:viewhiddencustomfields' => [
'captype' => 'read',
'archetypes' => [
],
],
]
const CONTEXT_SYSTEM
System context level - only one instance in every system.
Definition accesslib.php:122
const CONTEXT_COURSE
Course context level - one instances for each course.
Definition accesslib.php:128
const RISK_SPAM
Capability allows users to add content others may see - see
Definition accesslib.php:147
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition accesslib.php:115