]> git.mjollnir.org Git - moodle.git/commitdiff
lib/db/access: Capability for roaming to remote Moodles
authormartinlanghoff <martinlanghoff>
Thu, 4 Jan 2007 03:30:37 +0000 (03:30 +0000)
committermartinlanghoff <martinlanghoff>
Thu, 4 Jan 2007 03:30:37 +0000 (03:30 +0000)
Author: Donal McMullan <donal@catalyst.net.nz>

lib/db/access.php

index b68aa6c1999741876b8d27a21974f25ec9038267..5f85fc966b81b2bb575c6ad8d09ebf8381683079 100644 (file)
@@ -937,8 +937,16 @@ $moodle_capabilities = array(
             'coursecreator' => CAP_ALLOW,
             'admin' => CAP_ALLOW
         )
-    )
+    ),
 
+    'moodle/site:mnetlogintoremote' => array(
+        'riskbitmask' => RISK_PERSONAL | RISK_XSS,
+        'captype' => 'read',
+        'contextlevel' => CONTEXT_SYSTEM,
+        'legacy' => array(
+            'admin' => CAP_ALLOW
+        )
+    )
 );
 
 ?>