]> git.mjollnir.org Git - moodle.git/commitdiff
Changed some default permissions for the guest role
authormoodler <moodler>
Tue, 12 Sep 2006 05:58:42 +0000 (05:58 +0000)
committermoodler <moodler>
Tue, 12 Sep 2006 05:58:42 +0000 (05:58 +0000)
12 files changed:
lib/db/access.php
mod/assignment/db/access.php
mod/chat/db/access.php
mod/choice/db/access.php
mod/data/db/access.php
mod/forum/db/access.php
mod/glossary/db/access.php
mod/lesson/db/access.php
mod/quiz/db/access.php
mod/resource/db/access.php
mod/wiki/db/access.php
mod/workshop/db/access.php

index fd39f5c926bfbcb3ad14f2bc4415dbec84ce3abf..d764f7134318ba2eacd3e43713435a66883f959b 100644 (file)
@@ -638,7 +638,7 @@ $moodle_capabilities = array(
         'captype' => 'read',
         'contextlevel' => CONTEXT_SYSTEM,
         'legacy' => array(
-            'guest' => CAP_PREVENT,
+            'guest' => CAP_ALLOW,
             'student' => CAP_ALLOW,
             'teacher' => CAP_ALLOW,
             'editingteacher' => CAP_ALLOW,
index 87a78361a542079f4357f0e8434d79ce8938d511..9e4a92e79e305f0f341693a7927143e35e1e3c6e 100644 (file)
@@ -38,7 +38,7 @@ $mod_assignment_capabilities = array(
         'captype' => 'read',
         'contextlevel' => CONTEXT_MODULE,
         'legacy' => array(
-            'guest' => CAP_PREVENT,
+            'guest' => CAP_ALLOW,
             'student' => CAP_ALLOW,
             'teacher' => CAP_ALLOW,
             'editingteacher' => CAP_ALLOW,
@@ -76,4 +76,4 @@ $mod_assignment_capabilities = array(
     )
 );
 
-?>
\ No newline at end of file
+?>
index 6e02087b908c0840d9c123f0f43d81f72067adbc..f3b7238ddc3a60ab825d2bbcf8d3240f8e8b26c4 100644 (file)
@@ -77,4 +77,4 @@ $mod_chat_capabilities = array(
     
 );
 
-?>
\ No newline at end of file
+?>
index df49090f25535c8d14ec6ef4ec2065664505139a..c975baf32ed014053a1176744520213bf6b81a8b 100644 (file)
@@ -90,4 +90,4 @@ $mod_choice_capabilities = array(
     )
 );
 
-?>
\ No newline at end of file
+?>
index 75ae08a2672def15479c5b25649a2a75acd639ad..5581f7fd9996f0fd509a6a3896118286b2eb9fc2 100644 (file)
@@ -38,7 +38,7 @@ $mod_data_capabilities = array(
         'captype' => 'read',
         'contextlevel' => CONTEXT_MODULE,
         'legacy' => array(
-            'guest' => CAP_PREVENT,
+            'guest' => CAP_ALLOW,
             'student' => CAP_ALLOW,
             'teacher' => CAP_ALLOW,
             'editingteacher' => CAP_ALLOW,
@@ -147,4 +147,4 @@ $mod_data_capabilities = array(
     
 );
 
-?>
\ No newline at end of file
+?>
index ffca978db5ab8c8f2d095c7cd982e24748bed962..a0525701d8a0098e6b10091dc5ed62b33556ca65 100644 (file)
@@ -38,7 +38,7 @@ $mod_forum_capabilities = array(
         'captype' => 'read',
         'contextlevel' => CONTEXT_MODULE,
         'legacy' => array(
-            'guest' => CAP_PREVENT,
+            'guest' => CAP_ALLOW,
             'student' => CAP_ALLOW,
             'teacher' => CAP_ALLOW,
             'editingteacher' => CAP_ALLOW,
@@ -52,7 +52,7 @@ $mod_forum_capabilities = array(
         'captype' => 'read',
         'contextlevel' => CONTEXT_MODULE,
         'legacy' => array(
-            'guest' => CAP_PREVENT,
+            'guest' => CAP_ALLOW,
             'student' => CAP_ALLOW,
             'teacher' => CAP_ALLOW,
             'editingteacher' => CAP_ALLOW,
@@ -286,4 +286,4 @@ $mod_forum_capabilities = array(
     )
 );
 
-?>
\ No newline at end of file
+?>
index 2e3832d682c4db391a8dd19db4f7208de92a95c6..6f7423ced7cf0527897474f39a1b98ba74a01ce0 100644 (file)
@@ -38,7 +38,7 @@ $mod_glossary_capabilities = array(
         'captype' => 'read',
         'contextlevel' => CONTEXT_MODULE,
         'legacy' => array(
-            'guest' => CAP_PREVENT,
+            'guest' => CAP_ALLOW,
             'student' => CAP_ALLOW,
             'teacher' => CAP_ALLOW,
             'editingteacher' => CAP_ALLOW,
@@ -189,4 +189,4 @@ $mod_glossary_capabilities = array(
     
 );
 
-?>
\ No newline at end of file
+?>
index 2f0f1e1cd6e91fa3a75de7c4035b71f2ab9794bd..747eac2380da2f2990962e7bb922ddd7e5510143 100644 (file)
@@ -11,7 +11,7 @@ $mod_lesson_capabilities = array(
         'captype' => 'read',
         'contextlevel' => CONTEXT_MODULE,
         'legacy' => array(
-            'guest' => CAP_PREVENT,
+            'guest' => CAP_ALLOW,
             'student' => CAP_ALLOW,
             'teacher' => CAP_ALLOW,
             'editingteacher' => CAP_ALLOW,
index 87ead77be6a89f9ecb4afbf884369e7b496b11f0..d10cbe19e48f8904386e59c29c067a7411a0254b 100644 (file)
@@ -113,4 +113,4 @@ $mod_quiz_capabilities = array(
     )
 );
 
-?>
\ No newline at end of file
+?>
index 22de04b516a8dd58094cefa49ccf98f4de96a1e2..002d5031dbd2aeec7b478effb2e900d3ed073218 100644 (file)
@@ -38,7 +38,7 @@ $mod_resource_capabilities = array(
         'captype' => 'read',
         'contextlevel' => CONTEXT_MODULE,
         'legacy' => array(
-            'guest' => CAP_PREVENT,
+            'guest' => CAP_ALLOW,
             'student' => CAP_ALLOW,
             'teacher' => CAP_ALLOW,
             'editingteacher' => CAP_ALLOW,
@@ -49,4 +49,4 @@ $mod_resource_capabilities = array(
     
 );
 
-?>
\ No newline at end of file
+?>
index 4ca5d30aaec65a48fbd741dab73ea7465e8cc064..2b673a41279ac96b0ff15c0aa338bf8228c69f3f 100644 (file)
@@ -61,4 +61,4 @@ $mod_wiki_capabilities = array(
             'admin' => CAP_ALLOW
         )
     )
-);
\ No newline at end of file
+);
index 5e9337c891203fce05dbd9f177106bb44339880d..b50387ab97a6ca0adce334c83c3ddc8ab7a8f231 100644 (file)
@@ -11,7 +11,7 @@ $mod_workshop_capabilities = array(
         'captype' => 'read',
         'contextlevel' => CONTEXT_MODULE,
         'legacy' => array(
-            'guest' => CAP_PREVENT,
+            'guest' => CAP_ALLOW,
             'student' => CAP_ALLOW,
             'teacher' => CAP_ALLOW,
             'editingteacher' => CAP_ALLOW,
@@ -47,4 +47,4 @@ $mod_workshop_capabilities = array(
             'admin' => CAP_ALLOW
         )
     )
-);
\ No newline at end of file
+);