elgg-gitbot / test

0 stars 0 forks source link

Admins cannot change profile photos (Trac #545) #42

Closed elgg-gitbot closed 11 years ago

elgg-gitbot commented 11 years ago

Original ticket http://trac.elgg.org/ticket/545 on 38868516-12-19 by trac user kevinjardine, assigned to unknown.

Elgg version: 1.1

Although the fix to Ticket #448 allows admins to edit other user details, admins still cannot edit profile photos.

In part this is because the menu links at the left go to the admin's own settings rather than the settings for the user being viewed.

However, even changing this (eg with a mod/profile/editicon.php?username=xxx link) does not solve the problem because the view and action associated with editicon.php incorrectly use the logged-in user rather than the page owner.

I am ranking this bug minor because it would be a minor issue for most site operators, although it is not a minor issue for a client of mine who needs this feature!

elgg-gitbot commented 11 years ago

trac user kevinjardine wrote on 38870715-04-12

Just to add that the left links are also incorrect on the user settings page (they go to pages for the logged-in user rather than the page owner.

Moreover, even when I fix this to add the page owner's username to all the links, the username is ignored by the user statistics page and it still shows the stats for the logged-in user.

elgg-gitbot commented 11 years ago

trac user marcus wrote on 39513831-08-20

Edit links need to accept user guid from parameters and perform a can-edit check before displaying and editing.

Refs #1104

elgg-gitbot commented 11 years ago

trac user marcus wrote on 39513967-07-08

(In [svn:3387]) * Closes #1104: Edit profile and edit icon links on pulldown menu for editable users.