From f0eb2ffe85b7152252adb9784f05988044e10425 Mon Sep 17 00:00:00 2001 From: vyshane Date: Wed, 9 Aug 2006 09:17:37 +0000 Subject: [PATCH] Added mod/forum:viewhiddentimedposts --- mod/forum/db/access.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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', -- 2.39.5