summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xeditusers.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi
index c3ea9a49e..318b858e5 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -772,8 +772,9 @@ sub check_user {
if (!$user->in_group('admin')) {
my $insider_group = Bugzilla->params->{insidergroup};
+ my $can_edit_insider = $user->in_group($insider_group) || $user->in_group('servicedesk');
if ($otherUser->in_group('admin')
- || ($otherUser->in_group($insider_group) && !$user->in_group($insider_group))
+ || ($otherUser->in_group($insider_group) && !$can_edit_insider)
) {
ThrowUserError('auth_failure', {
action => 'modify',