]> git.mjollnir.org Git - moodle.git/commitdiff
MERGED:
authormoodler <moodler>
Fri, 20 Oct 2006 06:59:24 +0000 (06:59 +0000)
committermoodler <moodler>
Fri, 20 Oct 2006 06:59:24 +0000 (06:59 +0000)
Changed default capability for database to allow guests to view by default
MDL-7118

mod/data/db/access.php

index 4be4d570237a73c2f160c31488784f4574d651e7..0f1e57c60014f6cd16a0b5210be30ea44eb57283 100644 (file)
@@ -38,6 +38,7 @@ $mod_data_capabilities = array(
         'captype' => 'read',
         'contextlevel' => CONTEXT_MODULE,
         'legacy' => array(
+            'guest' => CAP_ALLOW,
             'student' => CAP_ALLOW,
             'teacher' => CAP_ALLOW,
             'editingteacher' => CAP_ALLOW,