Commit 00adf177 authored by moodler's avatar moodler
Browse files

Changed some default permissions for the guest role

parent 22ef89f1
......@@ -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,
......
......@@ -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
?>
......@@ -77,4 +77,4 @@ $mod_chat_capabilities = array(
);
?>
\ No newline at end of file
?>
......@@ -90,4 +90,4 @@ $mod_choice_capabilities = array(
)
);
?>
\ No newline at end of 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
?>
......@@ -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
?>
......@@ -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
?>
......@@ -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,
......
......@@ -113,4 +113,4 @@ $mod_quiz_capabilities = array(
)
);
?>
\ No newline at end of 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
?>
......@@ -61,4 +61,4 @@ $mod_wiki_capabilities = array(
'admin' => CAP_ALLOW
)
)
);
\ No newline at end of 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
);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment