See Release Notes
Long Term Support Release
Differences Between: [Versions 401 and 402] [Versions 401 and 403]
1 <?php 2 // This file is part of Moodle - http://moodle.org/ 3 // 4 // Moodle is free software: you can redistribute it and/or modify 5 // it under the terms of the GNU General Public License as published by 6 // the Free Software Foundation, either version 3 of the License, or 7 // (at your option) any later version. 8 // 9 // Moodle is distributed in the hope that it will be useful, 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 // GNU General Public License for more details. 13 // 14 // You should have received a copy of the GNU General Public License 15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>. 16 17 /** 18 * Capabilities for BigBlueButton. 19 * 20 * @package mod_bigbluebuttonbn 21 * @copyright 2010 onwards, Blindside Networks Inc 22 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 23 * @author Jesus Federico (jesus [at] blindsidenetworks [dt] com) 24 * @author Fred Dixon (ffdixon [at] blindsidenetworks [dt] com) 25 * @author Darko Miletic (darko.miletic@gmail.com) 26 */ 27 28 defined('MOODLE_INTERNAL') || die(); 29 30 $capabilities = [ 31 32 // Ability to add a new bigbluebuttonbn instance. 33 'mod/bigbluebuttonbn:addinstance' => [ 34 'riskbitmask' => RISK_XSS, 35 'captype' => 'write', 36 'contextlevel' => CONTEXT_COURSE, 37 'archetypes' => [ 38 'manager' => CAP_ALLOW, 39 'editingteacher' => CAP_ALLOW, 40 ], 41 'clonepermissionsfrom' => 'moodle/course:manageactivities', 42 ], 43 44 // Ability to create instances with live meeting capabilities. 45 'mod/bigbluebuttonbn:addinstancewithmeeting' => [ 46 'captype' => 'write', 47 'contextlevel' => CONTEXT_MODULE, 48 'archetypes' => [ 49 'manager' => CAP_ALLOW, 50 'editingteacher' => CAP_ALLOW, 51 ], 52 'clonepermissionsfrom' => 'moodle/course:manageactivities', 53 ], 54 55 // Ability to create instances with recording capabilities. 56 'mod/bigbluebuttonbn:addinstancewithrecording' => [ 57 'captype' => 'write', 58 'contextlevel' => CONTEXT_MODULE, 59 'archetypes' => [ 60 'manager' => CAP_ALLOW, 61 'editingteacher' => CAP_ALLOW, 62 ], 63 'clonepermissionsfrom' => 'moodle/course:manageactivities', 64 ], 65 66 // Ability to join a meeting. 67 'mod/bigbluebuttonbn:join' => [ 68 'captype' => 'read', 69 'contextlevel' => CONTEXT_MODULE, 70 'archetypes' => [ 71 'manager' => CAP_ALLOW, 72 'editingteacher' => CAP_ALLOW, 73 'teacher' => CAP_ALLOW, 74 'student' => CAP_ALLOW, 75 'guest' => CAP_ALLOW, 76 ], 77 ], 78 79 // Ability to access instances, regardless of the type. 80 'mod/bigbluebuttonbn:view' => [ 81 'captype' => 'read', 82 'contextlevel' => CONTEXT_MODULE, 83 'archetypes' => [ 84 'student' => CAP_ALLOW, 85 'teacher' => CAP_ALLOW, 86 'editingteacher' => CAP_ALLOW, 87 'manager' => CAP_ALLOW 88 ] 89 ], 90 91 // Ability to manage recordings. 92 'mod/bigbluebuttonbn:managerecordings' => [ 93 'captype' => 'write', 94 'contextlevel' => CONTEXT_MODULE, 95 'archetypes' => [ 96 'manager' => CAP_ALLOW, 97 'editingteacher' => CAP_ALLOW, 98 ], 99 ], 100 101 // Ability to publish recordings. 102 'mod/bigbluebuttonbn:publishrecordings' => [ 103 'captype' => 'write', 104 'contextlevel' => CONTEXT_MODULE, 105 'archetypes' => [ 106 'manager' => CAP_ALLOW, 107 'editingteacher' => CAP_ALLOW, 108 ], 109 ], 110 111 // Ability to unpublish recordings. 112 'mod/bigbluebuttonbn:unpublishrecordings' => [ 113 'captype' => 'write', 114 'contextlevel' => CONTEXT_MODULE, 115 'archetypes' => [ 116 'manager' => CAP_ALLOW, 117 'editingteacher' => CAP_ALLOW, 118 ], 119 ], 120 121 // Ability to protect recordings. 122 'mod/bigbluebuttonbn:protectrecordings' => [ 123 'captype' => 'write', 124 'contextlevel' => CONTEXT_MODULE, 125 'archetypes' => [ 126 'manager' => CAP_ALLOW, 127 'editingteacher' => CAP_ALLOW, 128 ], 129 ], 130 131 // Ability to unprotect recordings. 132 'mod/bigbluebuttonbn:unprotectrecordings' => [ 133 'captype' => 'write', 134 'contextlevel' => CONTEXT_MODULE, 135 'archetypes' => [ 136 'manager' => CAP_ALLOW, 137 'editingteacher' => CAP_ALLOW, 138 ], 139 ], 140 141 // Ability to delete recordings. 142 'mod/bigbluebuttonbn:deleterecordings' => [ 143 'captype' => 'write', 144 'contextlevel' => CONTEXT_MODULE, 145 'archetypes' => [ 146 'manager' => CAP_ALLOW, 147 'editingteacher' => CAP_ALLOW, 148 ], 149 ], 150 151 // Ability to import recordings. 152 'mod/bigbluebuttonbn:importrecordings' => [ 153 'captype' => 'write', 154 'contextlevel' => CONTEXT_MODULE, 155 'archetypes' => [ 156 'manager' => CAP_ALLOW, 157 'editingteacher' => CAP_ALLOW, 158 ], 159 ], 160 ];
title
Description
Body
title
Description
Body
title
Description
Body
title
Body