Commit 90e54f6c authored by Brion Vibber's avatar Brion Vibber

ModHelper -> silence only, don't let them sandbox (it's too confusing atm...

ModHelper -> silence only, don't let them sandbox (it's too confusing atm without a good audit trail)
parent 9d9e80ea
......@@ -41,7 +41,7 @@ class ModHelperPlugin extends Plugin
function onUserRightsCheck($profile, $right, &$result)
{
if ($right == Right::SILENCEUSER || $right == Right::SANDBOXUSER) {
if ($right == Right::SILENCEUSER) {
// Hrm.... really we should confirm that the *other* user isn't privleged. :)
if ($profile->hasRole('modhelper')) {
$result = true;
......
Markdown is supported
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