Skip to content

Commit 95e9862

Browse files
committed
add managekeeplocalcopy, deletelocalcopy capabilities
1 parent 91cf2d1 commit 95e9862

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

db/access.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,26 @@
105105
)
106106
),
107107

108+
'mod/customcert:managekeeplocalcopy' => array(
109+
'captype' => 'write',
110+
'contextlevel' => CONTEXT_COURSE,
111+
'archetypes' => array(
112+
'editingteacher' => CAP_ALLOW,
113+
'manager' => CAP_ALLOW
114+
),
115+
'clonepermissionsfrom' => 'moodle/course:manageactivities'
116+
),
117+
118+
'mod/customcert:deletelocalcopy' => array(
119+
'captype' => 'write',
120+
'contextlevel' => CONTEXT_COURSE,
121+
'archetypes' => array(
122+
'editingteacher' => CAP_ALLOW,
123+
'manager' => CAP_ALLOW
124+
),
125+
'clonepermissionsfrom' => 'moodle/course:manageactivities'
126+
),
127+
108128
'mod/customcert:manageemailstudents' => array(
109129
'captype' => 'write',
110130
'contextlevel' => CONTEXT_COURSE,

0 commit comments

Comments
 (0)