mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-61444 question: add question tagmine and tagall capabilities
This commit is contained in:
parent
d1b4ca921e
commit
34cd75240e
3 changed files with 25 additions and 1 deletions
|
@ -1483,6 +1483,28 @@ $capabilities = array(
|
|||
)
|
||||
),
|
||||
|
||||
// Controls whether the user can tag his own questions.
|
||||
'moodle/question:tagmine' => array(
|
||||
'captype' => 'write',
|
||||
'contextlevel' => CONTEXT_COURSE,
|
||||
'archetypes' => array(
|
||||
'editingteacher' => CAP_ALLOW,
|
||||
'manager' => CAP_ALLOW
|
||||
),
|
||||
'clonepermissionsfrom' => 'moodle/question:editmine'
|
||||
),
|
||||
|
||||
// Controls whether the user can tag all questions.
|
||||
'moodle/question:tagall' => array(
|
||||
'captype' => 'write',
|
||||
'contextlevel' => CONTEXT_COURSE,
|
||||
'archetypes' => array(
|
||||
'editingteacher' => CAP_ALLOW,
|
||||
'manager' => CAP_ALLOW
|
||||
),
|
||||
'clonepermissionsfrom' => 'moodle/question:editall'
|
||||
),
|
||||
|
||||
'moodle/site:doclinks' => array(
|
||||
'captype' => 'read',
|
||||
'contextlevel' => CONTEXT_SYSTEM,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue