aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-09-16 05:01:56 +0000
committerlpsolit%gmail.com <>2005-09-16 05:01:56 +0000
commit0e9fdfdcb1b423f9d26747d779bf3d368b92ced1 (patch)
tree4efe75517a68809a853913add2d16b4be08ce931 /editusers.cgi
parentBug 308581: Excluding yourself from a restricted bug generates an error if th... (diff)
downloadbugzilla-0e9fdfdcb1b423f9d26747d779bf3d368b92ced1.tar.gz
bugzilla-0e9fdfdcb1b423f9d26747d779bf3d368b92ced1.tar.bz2
bugzilla-0e9fdfdcb1b423f9d26747d779bf3d368b92ced1.zip
Bug 304696: Replace UserInGroup() by $user->in_group() when checking user privs in edit*.cgi files - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi
index ade2f0ca7..27c16bbe7 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -43,7 +43,7 @@ my $editusers = $user->in_group('editusers');
# Reject access if there is no sense in continuing.
$editusers
- || Bugzilla->user->can_bless()
+ || $user->can_bless()
|| ThrowUserError("auth_failure", {group => "editusers",
reason => "cant_bless",
action => "edit",