edit users/add users shouldn't include a link to http://bugzilla.mozilla.org/editusers.cgi?action=add if the permission flag isn't set

RESOLVED FIXED in Bugzilla 2.18

Status

()

Bugzilla
Administration
RESOLVED FIXED
15 years ago
5 years ago

People

(Reporter: timeless, Assigned: Jon)

Tracking

unspecified
Bugzilla 2.18
Bug Flags:
approval +

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

15 years ago
Select match string
 
List users with login name matching:

Back to the index or Add a new user.

-- clicking add a new user:
Add user
 
Sorry, you don't have permissions to add new users.

Back to the index or Add a new user.
-- ^ this is really clever
(Assignee)

Comment 1

15 years ago
Created attachment 123924 [details] [diff] [review]
hides add new user if there isn't permission to add them

This patch is for a non templatized version of editusers.cgi.

Updated

15 years ago
OS: Windows 2000 → All
Hardware: PC → All
Comment on attachment 123924 [details] [diff] [review]
hides add new user if there isn't permission to add them

We're of course planning to templatize this, but who knows how long that'll
take, and in the mean time this works. :)
Attachment #123924 - Flags: review+
-> patch author
Assignee: justdave → kniht
Flags: approval+
Target Milestone: --- → Bugzilla 2.18
Checking in editusers.cgi;
/cvsroot/mozilla/webtools/bugzilla/editusers.cgi,v  <--  editusers.cgi
new revision: 1.46; previous revision: 1.45
done
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.