summaryrefslogtreecommitdiffstats
path: root/editclassifications.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editclassifications.cgi')
-rwxr-xr-xeditclassifications.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/editclassifications.cgi b/editclassifications.cgi
index c1186f792..777e76f75 100755
--- a/editclassifications.cgi
+++ b/editclassifications.cgi
@@ -78,7 +78,11 @@ Bugzilla->login(LOGIN_REQUIRED);
print $cgi->header();
-ThrowUserError("auth_cant_edit_classifications") unless UserInGroup("editclassifications");
+UserInGroup("editclassifications")
+ || ThrowUserError("auth_failure", {group => "editclassifications",
+ action => "edit",
+ object => "classifications"});
+
ThrowUserError("auth_classification_not_enabled") unless Param("useclassification");
#