Closed Bug 533012 Opened 15 years ago Closed 12 years ago

add the ability to see all the administrative actions performed by a user

Categories

(bugzilla.mozilla.org :: General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: reed, Assigned: dkl)

References

()

Details

(Keywords: regression)

Attachments

(1 file, 3 obsolete files)

Seems that the 'activity2' action wasn't ported from 3.2.x to 3.4.x. If I try to use it, I get "I don't recognize the value (activity2) of the action variable."

:(
Undocumented feature, figured nobody used it but you... ;)

Looks like I was right.

I was planning on putting this back, just hadn't got around to it yet.
This is something we probably ought to push upstream anyway.
Attached patch patch - v1 (obsolete) — Splinter Review
Crappy patch to add it back. Need to add UI for links and other stuff... plus, I don't like how I'm doing it.
Assignee: nobody → reed
Status: NEW → ASSIGNED
Comment on attachment 420011 [details] [diff] [review]
patch - v1

doesn't work.  I applied it on bugzilla-stage-tip just to try it out and confirm, and indeed, it doesn't.  The placeholders don't work for column names.  You end up putting a string in that spot instead of a column name, which then makes nothing match at all.
Attachment #420011 - Flags: review-
Attached patch patch - v2 (obsolete) — Splinter Review
How about this?
Attachment #420011 - Attachment is obsolete: true
Attachment #435446 - Flags: review?(justdave)
What did/does this actually do?

Gerv
(In reply to comment #6)
> What did/does this actually do?

Allowed you to look at all of the changes a given user made to users, rather than all of the changes made to that user.  It was a way to audit the admin activities of a specific user, more or less. (although basically all it was good for was viewing group changes since we don't log much else yet).
Component: Bugzilla: Other b.m.o Issues → General
Product: mozilla.org → bugzilla.mozilla.org
Assignee: reed → dkl
Patch to make the viewing of changes made to another user not an invisible feature :)

dkl
Attachment #435446 - Attachment is obsolete: true
Attachment #594835 - Flags: review?(glob)
Attachment #435446 - Flags: review?(justdave)
Comment on attachment 594835 [details] [diff] [review]
Patch to show profile edit history for a user  (v1)

i don't think "Edit History" is a good name for this feature, as it could easily be confused with "bug editing".  how about "Admin History"?


>+        my $temp = $activity_who;
>+        $activity_who = $activity_userid;
>+        $activity_userid = $temp;

no need for a temp variable:

($activity_userid, $activity_who) = ($activity_who, $activity_userid);


as a side note, the user history and this report are accessible to any user which has the ability to change group membership; i was expecting it would be limited to editusers members only.  thoughts?
Attachment #594835 - Flags: review?(glob) → review-
Severity: normal → enhancement
Summary: 'activity2' action missing from editusers.cgi → add the ability to see all the administrative actions performed by a user
Thanks for the review. New patch with suggested changes.

dkl
Attachment #594835 - Attachment is obsolete: true
Attachment #595133 - Flags: review?(glob)
Comment on attachment 595133 [details] [diff] [review]
Patch to show profile edit history for a user  (v2)

r=glob
Attachment #595133 - Flags: review?(glob) → review+
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bmo/4.0
modified editusers.cgi
modified template/en/default/account/profile-activity.html.tmpl                                                                              modified template/en/default/admin/users/edit.html.tmpl
modified template/en/default/admin/users/list.html.tmpl
modified template/en/default/global/user-error.html.tmpl
Committed revision 8058.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: