Commit cb852daf authored by 3i Logic LMS's avatar 3i Logic LMS
Browse files

Added new capability

parent 905afb89
Loading
Loading
Loading
Loading
+3 −2
Changes for db/access.php: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -6,10 +6,11 @@ $capabilities = array(
    'block/learning_plan:viewpages' => array(

        'captype' => 'read',
        'contextlevel' => CONTEXT_COURSE,
        'contextlevel' => CONTEXT_BLOCK,
        'legacy' => array(
            'guest' => CAP_PREVENT,
            'student' => CAP_ALLOW,
            'user' => CAP_ALLOW,
            'teacher' => CAP_ALLOW,
            'editingteacher' => CAP_ALLOW,
            'coursecreator' => CAP_ALLOW,
@@ -31,7 +32,7 @@ $capabilities = array(
    'block/learning_plan:managepages' => array(

        'captype' => 'read',
        'contextlevel' => CONTEXT_COURSE,
        'contextlevel' => CONTEXT_BLOCK,
        'legacy' => array(
            'guest' => CAP_PREVENT,
            'student' => CAP_PREVENT,