Closed Bug 178935 Opened 22 years ago Closed 21 years ago

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

Categories

(Bugzilla :: Administration, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: timeless, Assigned: kniht)

References

()

Details

Attachments

(1 file)

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
This patch is for a non templatized version of editusers.cgi.
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
Closed: 21 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.

Attachment

General

Creator:
Created:
Updated:
Size: