adding of user events into calendar and posting of blogs is now enabled by default - MDL-7297 and MDL-7245

This commit is contained in:
skodak
2006-10-31 09:08:27 +00:00
parent 8def180d7a
commit 7e70535f09
+4 -2
View File
@@ -668,13 +668,14 @@ $moodle_capabilities = array(
)
),
'moodle/blog:create' => array(
'moodle/blog:create' => array( // works in CONTEXT_SYSTEM only
'riskbitmask' => RISK_SPAM,
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
'guest' => CAP_ALLOW, // needed for default role that allows everybody to post blog entries
'student' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
@@ -723,13 +724,14 @@ $moodle_capabilities = array(
)
),
'moodle/calendar:manageownentries' => array(
'moodle/calendar:manageownentries' => array( // works in CONTEXT_SYSTEM only
'riskbitmask' => RISK_SPAM,
'captype' => 'write',
'contextlevel' => CONTEXT_SYSTEM,
'legacy' => array(
'guest' => CAP_ALLOW, // needed for default role that allows everybody to add user entries
'student' => CAP_ALLOW,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,