From: vyshane Date: Wed, 9 Aug 2006 09:16:35 +0000 (+0000) Subject: Added moodle/site:viewfullnames X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=53d7785b4a4643b87f11e0bae8fb669991cce77f;p=moodle.git Added moodle/site:viewfullnames --- diff --git a/lib/db/access.php b/lib/db/access.php index 8131f635e0..b5c310ddd8 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -158,6 +158,20 @@ $moodle_capabilities = array( ) ), + 'moodle/site:viewfullnames' => array( + + 'captype' => 'read', + 'contextlevel' => CONTEXT_SYSTEM, + 'legacy' => array( + 'guest' => CAP_PREVENT, + 'student' => CAP_PREVENT, + 'teacher' => CAP_ALLOW, + 'editingteacher' => CAP_ALLOW, + 'coursecreator' => CAP_ALLOW, + 'admin' => CAP_ALLOW + ) + ), + 'moodle/user:create' => array( 'captype' => 'write',