From b1e06f5fa0c63655a967c26169c4c6e225a75963 Mon Sep 17 00:00:00 2001 From: vyshane Date: Fri, 22 Sep 2006 03:05:46 +0000 Subject: [PATCH] Removed mod/resource:view --- mod/resource/db/access.php | 52 -------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 mod/resource/db/access.php diff --git a/mod/resource/db/access.php b/mod/resource/db/access.php deleted file mode 100644 index 90bf7e8c22..0000000000 --- a/mod/resource/db/access.php +++ /dev/null @@ -1,52 +0,0 @@ -: -// -// component_name should be the same as the directory name of the mod or block. -// -// Core moodle capabilities are defined thus: -// moodle/: -// -// Examples: mod/forum:viewpost -// block/recent_activity:view -// moodle/site:deleteuser -// -// The variable name for the capability definitions array follows the format -// $__capabilities -// -// For the core capabilities, the variable is $moodle_capabilities. - - -$mod_resource_capabilities = array( - - 'mod/resource:view' => array( - - 'captype' => 'read', - 'contextlevel' => CONTEXT_MODULE, - 'legacy' => array( - 'guest' => CAP_ALLOW, - 'student' => CAP_ALLOW, - 'teacher' => CAP_ALLOW, - 'editingteacher' => CAP_ALLOW, - 'coursecreator' => CAP_ALLOW, - 'admin' => CAP_ALLOW - ) - ) - -); - -?> -- 2.39.5