From 53d7785b4a4643b87f11e0bae8fb669991cce77f Mon Sep 17 00:00:00 2001 From: vyshane Date: Wed, 9 Aug 2006 09:16:35 +0000 Subject: [PATCH] Added moodle/site:viewfullnames --- lib/db/access.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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', -- 2.39.5