From: martinlanghoff Date: Thu, 4 Jan 2007 03:30:37 +0000 (+0000) Subject: lib/db/access: Capability for roaming to remote Moodles X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f509ce06570a27298078c7b3e1fa9ea572fbb694;p=moodle.git lib/db/access: Capability for roaming to remote Moodles Author: Donal McMullan --- diff --git a/lib/db/access.php b/lib/db/access.php index b68aa6c199..5f85fc966b 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -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 + ) + ) ); ?>