@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Profile Pictures can only be edited for System Agents

Summary:
I feel pretty disturbed by having the thought of admins,
super-beings among all users, being able to edit my profile picture. So I took away
that capability of theirs.

Test Plan: Tried to edit a sys agent's profile pic, and somebody else's.

Reviewers: epriestley, chad, btrahan, Afaque_Hussain

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5358

authored by

Anh Nhan Nguyen and committed by
epriestley
3ad33dbc a161617d

+3 -1
+3 -1
src/applications/people/controller/PhabricatorPeopleEditController.php
··· 54 54 pht('View Profile'), '/p/'.$user->getUsername().'/'); 55 55 $nav->addLabel(pht('Special')); 56 56 $nav->addFilter('rename', pht('Change Username')); 57 - $nav->addFilter('picture', pht('Set Account Picture')); 57 + if ($user->getIsSystemAgent()) { 58 + $nav->addFilter('picture', pht('Set Account Picture')); 59 + } 58 60 $nav->addFilter('delete', pht('Delete User')); 59 61 60 62 if (!$user->getID()) {