1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src/applications/feed
epriestley 2e54b3ff57 Fix excessively-conservative feed story policy checks
Summary:
When checking if a user can see a feed story about an object, we currently use the object's primary policy but ignore automatic capabilities.

Instead, proxy both primary policies and automatic capabilities.

Test Plan:
  - Before this patch, users could not see stories about events they were invited to but not permitted to see by the primary policy (this is currently the default for newly created events).
  - After this patch, these invited users can now see the stories.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: lpriestley, epriestley

Differential Revision: https://secure.phabricator.com/D12785
2015-05-10 10:55:01 -07:00
..
application Remove getIconName from all applications 2015-01-30 12:11:21 -08:00
builder Move PHUIErrorView to PHUIInfoView 2015-03-01 14:45:56 -08:00
conduit Give Conduit params/return/errors protected visibility 2015-04-13 11:58:35 -07:00
config Add getGroup to ConfigOptions 2015-02-09 13:10:56 -08:00
controller Increase visibility of PhabricatorController::buildApplicationMenu methods 2015-01-16 07:41:26 +11:00
management Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
query Add "Edge Logic" support to PolicyAwareQuery 2015-04-20 10:06:12 -07:00
storage Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
story Fix excessively-conservative feed story policy checks 2015-05-10 10:55:01 -07:00
worker Add "phabricator.silent" for stopping all outbound events from an install 2015-03-18 07:09:43 -07:00
PhabricatorFeedStoryPublisher.php Fix handling of notifications with project members 2015-03-24 12:47:38 -07:00