forum throttling capability meaning reversed

This commit is contained in:
skodak 2006-09-20 21:25:51 +00:00
parent eef868d17d
commit d43d749a1b
3 changed files with 11 additions and 9 deletions

View file

@ -279,17 +279,19 @@ $mod_forum_capabilities = array(
)
),
'mod/forum:throttlingapplies' => array(
'mod/forum:nothrottling' => array(
'riskbitmask' => RISK_SPAM,
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'legacy' => array(
'guest' => CAP_ALLOW,
'student' => CAP_ALLOW,
'teacher' => CAP_PREVENT,
'editingteacher' => CAP_PREVENT,
'coursecreator' => CAP_PREVENT,
'admin' => CAP_PREVENT
'guest' => CAP_PREVENT,
'student' => CAP_PREVENT,
'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
'coursecreator' => CAP_ALLOW,
'admin' => CAP_ALLOW
)
)
);