From: vyshane Date: Wed, 9 Aug 2006 09:17:37 +0000 (+0000) Subject: Added mod/forum:viewhiddentimedposts X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f0eb2ffe85b7152252adb9784f05988044e10425;p=moodle.git Added mod/forum:viewhiddentimedposts --- diff --git a/mod/forum/db/access.php b/mod/forum/db/access.php index b95af71ce3..ffca978db5 100644 --- a/mod/forum/db/access.php +++ b/mod/forum/db/access.php @@ -61,6 +61,20 @@ $mod_forum_capabilities = array( ) ), + 'mod/forum:viewhiddentimedposts' => array( + + 'captype' => 'read', + 'contextlevel' => CONTEXT_MODULE, + 'legacy' => array( + 'guest' => CAP_PREVENT, + 'student' => CAP_PREVENT, + 'teacher' => CAP_ALLOW, + 'editingteacher' => CAP_ALLOW, + 'coursecreator' => CAP_ALLOW, + 'admin' => CAP_ALLOW + ) + ), + 'mod/forum:startdiscussion' => array( 'captype' => 'read',