From 27950688bb134a6b9a3195fa5decc6e0c274a42f Mon Sep 17 00:00:00 2001 From: vyshane Date: Tue, 8 Aug 2006 06:45:25 +0000 Subject: [PATCH] Added moodle/site:accessallgroups capability. --- lib/db/access.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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', -- 2.39.5