diff options
Diffstat (limited to 'sqlbox/db/access.php')
-rw-r--r-- | sqlbox/db/access.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sqlbox/db/access.php b/sqlbox/db/access.php index 12f678c..5213fc1 100644 --- a/sqlbox/db/access.php +++ b/sqlbox/db/access.php @@ -62,6 +62,17 @@ $capabilities = array( 'clonepermissionsfrom' => 'moodle/course:manageactivities' ), + 'mod/sqlbox:readqueries' => array( + + 'captype' => 'read', + 'contextlevel' => CONTEXT_MODULE, + 'archetypes' => array( + 'teacher' => CAP_ALLOW, + 'editingteacher' => CAP_ALLOW, + 'manager' => CAP_ALLOW + ) + ), + /***************************** remove these comment marks and modify the code as needed 'mod/sqlbox:view' => array( 'captype' => 'read', |