Closed Bug 145849 Opened 22 years ago Closed 22 years ago

Non-maintainers with ability to bless others need "users" link in footer

Categories

(Bugzilla :: User Interface, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.16

People

(Reporter: bugreport, Assigned: myk)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Non-maintainers who have been granted the ability to enable particular 
permissions for other users need a link to the editusers.cgi script from their 
page footer.
This patch adds the numerical value of the blessgroupset to the user data
structure and uses a non-zero value to decide to include the edit users link in
the page footer.
good catch
Keywords: patch, regression, review
Target Milestone: --- → Bugzilla 2.16
Isn't this a dupe? I'm sure I've seen this before, somewhere.

That diff is wrong, though - you've included data/template (which you
shouldn't), but the compiled template only has a modtime change....
Comment on attachment 84373 [details] [diff] [review]
Patch to 2.16-ish bugzillas adding "users" link for anyone with bless capabilities

nit:

the change to CGI.pl is only whitespace

nit:

data/template is generated by TT2, it's not in cvs

change to useful-link.html.tmpl looks pretty self-explanatory, so it gets my
r=, but I'll leave it open for second by one of the people that normally deals
with templates.
Attachment #84373 - Flags: review+
DOH!

Somehow, I posted the differrence between the patch and the patch that was
cleaned up instead of the original.   Here's the correct one.  I've got to stop
doing these when I am asleep.
Attachment #84373 - Attachment is obsolete: true
Comment on attachment 84379 [details] [diff] [review]
Fixed patch for 2.16-ish bugzillas

aha, yes, this looks much better.
Attachment #84379 - Flags: review+
Comment on attachment 84379 [details] [diff] [review]
Fixed patch for 2.16-ish bugzillas

Spot on.

Gerv
Attachment #84379 - Flags: review+
Checked in on trunk and branch.

Checking in CGI.pl;
/cvsroot/mozilla/webtools/bugzilla/CGI.pl,v  <--  CGI.pl
new revision: 1.153.2.1; previous revision: 1.153
done
Checking in template/en/default/global/useful-links.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/global/useful-links.html.tmpl,v
 <--  useful-links.html.tmpl
new revision: 1.2.2.1; previous revision: 1.2
done

Checking in template/en/default/global/useful-links.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/global/useful-links.html.tmpl,v
 <--  useful-links.html.tmpl
new revision: 1.3; previous revision: 1.2
done
Checking in CGI.pl;
/cvsroot/mozilla/webtools/bugzilla/CGI.pl,v  <--  CGI.pl
new revision: 1.154; previous revision: 1.153
done

Gerv
Status: NEW → RESOLVED
Closed: 22 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: