From f4f16af8ac6c2bb1d5561bd85b4908fd3f9e1dbb Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 12 Oct 2010 15:49:20 -0700 Subject: Add a basic group deletion for moderator users. --- classes/Profile.php | 1 + 1 file changed, 1 insertion(+) (limited to 'classes') 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: -- cgit v1.2.3-54-g00ecf