Bug 278650 : editversions.cgi still uses "auth_cant_edit_versions"

Patch by Frederic Buclin <LpSolit@gmail.com>  r=vladd  a=justdave
This commit is contained in:
travis%sedsystems.ca 2005-01-27 19:50:25 +00:00
Родитель 3d361d0199
Коммит 99caa596b2
2 изменённых файлов: 4 добавлений и 10 удалений

Просмотреть файл

@ -115,11 +115,10 @@ Bugzilla->login(LOGIN_REQUIRED);
print Bugzilla->cgi->header(); print Bugzilla->cgi->header();
unless (UserInGroup("editcomponents")) { UserInGroup("editcomponents")
ThrowUserError('auth_cant_edit_versions'); || ThrowUserError("auth_failure", {group => "editcomponents",
exit; action => "edit",
} object => "versions"});
# #
# often used variables # often used variables

Просмотреть файл

@ -218,11 +218,6 @@
Sorry, but you can not delete the default classification, Sorry, but you can not delete the default classification,
'[% name FILTER html %]'. '[% name FILTER html %]'.
[% ELSIF error == "auth_cant_edit_versions" %]
[% title = "Access Denied" %]
Sorry, you aren't a member of the 'editcomponents' group, and so
you aren't allowed to add, modify or delete versions.
[% ELSIF error == "component_already_exists" %] [% ELSIF error == "component_already_exists" %]
[% title = "Component Already Exists" %] [% title = "Component Already Exists" %]
A component with the name '[% name FILTER html %]' already exists. A component with the name '[% name FILTER html %]' already exists.