1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 19:02:41 +01:00
phorge-phorge/src/applications/phame/controller/post
Bob Trahan 9838251515 Make PhabricatorActionListView logged-out user savvy
Summary:
Fixes T2691. Now, all PhabricatorActionListViews in the codebase setObjectHref to $request->getRequestURI. This value is passed over to PhabricatorActionItems right before they are rendered. If a PhabricatorActionItem is a workflow and there is no user OR the user is logged out, we used this objectURI to construct a log in URI.

Potentially added some undesirable behavior to aggressively setUser (and later setObjectURI) from within the List on Actions... This should be okay-ish unless there was a vision of actions having different user objects associated with them. I think this is a safe assumption.

Test Plan: played around with a mock all logged out (Ref T2652) and it worked!

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2691

Differential Revision: https://secure.phabricator.com/D6416
2013-07-12 11:39:47 -07:00
..
PhamePostDeleteController.php Modernize Phame 2013-04-14 08:02:29 -07:00
PhamePostEditController.php Update form styles, implement in many places 2013-05-07 14:07:06 -07:00
PhamePostFramedController.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhamePostListController.php Use PHUIFeedStory in Phame 2013-05-21 15:32:17 -07:00
PhamePostNewController.php Update form styles, implement in many places 2013-05-07 14:07:06 -07:00
PhamePostNotLiveController.php Restore merge of phutil_tag. 2013-02-13 14:51:18 -08:00
PhamePostPreviewController.php Restore merge of phutil_tag. 2013-02-13 14:51:18 -08:00
PhamePostPublishController.php Modernize Phame 2013-04-14 08:02:29 -07:00
PhamePostUnpublishController.php Restore merge of phutil_tag. 2013-02-13 14:51:18 -08:00
PhamePostViewController.php Make PhabricatorActionListView logged-out user savvy 2013-07-12 11:39:47 -07:00