From: vyshane Date: Tue, 8 Aug 2006 06:45:25 +0000 (+0000) Subject: Added moodle/site:accessallgroups capability. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=27950688bb134a6b9a3195fa5decc6e0c274a42f;p=moodle.git Added moodle/site:accessallgroups capability. --- diff --git a/lib/db/access.php b/lib/db/access.php index fceb126cde..8131f635e0 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -144,6 +144,20 @@ $moodle_capabilities = array( ) ), + 'moodle/site:accessallgroups' => 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',