summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-12 15:49:20 -0700
committerBrion Vibber <brion@pobox.com>2010-10-12 15:49:20 -0700
commitf4f16af8ac6c2bb1d5561bd85b4908fd3f9e1dbb (patch)
treeece8435220021819467e394845d1195d0735155a /classes
parentbc0d7f14db27881e2dc8fad8b02ce4e2cfd19847 (diff)
Add a basic group deletion for moderator users.
Diffstat (limited to 'classes')
-rw-r--r--classes/Profile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/Profile.php b/classes/Profile.php
index 3844077e6..12ce5d9b6 100644
--- a/classes/Profile.php
+++ b/classes/Profile.php
@@ -854,6 +854,7 @@ class Profile extends Memcached_DataObject
case Right::SANDBOXUSER:
case Right::SILENCEUSER:
case Right::DELETEUSER:
+ case Right::DELETEGROUP:
$result = $this->hasRole(Profile_role::MODERATOR);
break;
case Right::CONFIGURESITE: