mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-13766, allow logged in user to use repository plugins
This commit is contained in:
parent
bdfc9a6bb9
commit
30f53712d7
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 20090080101;
|
$plugin->version = 2009080102;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080104;
|
$plugin->version = 2009080105;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080101;
|
$plugin->version = 2009080102;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080101;
|
$plugin->version = 2009080102;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080101;
|
$plugin->version = 2009080102;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080101;
|
$plugin->version = 2009080102;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080101;
|
$plugin->version = 2009080102;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2010021800;
|
$plugin->version = 2010021801;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009111300;
|
$plugin->version = 2009111301;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080101;
|
$plugin->version = 2009080102;
|
||||||
|
@ -21,6 +21,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2010042201;
|
$plugin->version = 2010042202;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2010021800;
|
$plugin->version = 2010021801;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080101;
|
$plugin->version = 2009080102;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080101;
|
$plugin->version = 2009080102;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080101;
|
$plugin->version = 2009080102;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080101;
|
$plugin->version = 2009080102;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080101;
|
$plugin->version = 2009080102;
|
||||||
|
@ -6,6 +6,7 @@ $capabilities = array(
|
|||||||
'captype' => 'read',
|
'captype' => 'read',
|
||||||
'contextlevel' => CONTEXT_SYSTEM,
|
'contextlevel' => CONTEXT_SYSTEM,
|
||||||
'legacy' => array(
|
'legacy' => array(
|
||||||
|
'user' => CAP_ALLOW,
|
||||||
'student' => CAP_ALLOW,
|
'student' => CAP_ALLOW,
|
||||||
'teacher' => CAP_ALLOW,
|
'teacher' => CAP_ALLOW,
|
||||||
'editingteacher' => CAP_ALLOW,
|
'editingteacher' => CAP_ALLOW,
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$plugin->version = 2009080101;
|
$plugin->version = 2009080102;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user