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/policy
epriestley b3038dcaea When showing policy hints, if the Space policy is strictly stronger, show it instead
Summary:
Ref T8449. Before we show a policy hint in the header of an object, compare it to the space policy (if one exists).

If the space policy is strictly stronger (more restrictive -- for example, the Space policy is 'members of X', and the object policy is 'public'), show the space policy instead.

See discussion on T8376.

Test Plan: {F509126}

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8449

Differential Revision: https://secure.phabricator.com/D13328
2015-06-17 11:25:19 -07:00
..
__tests__ When showing policy hints, if the Space policy is strictly stronger, show it instead 2015-06-17 11:25:19 -07:00
application Allow different policy rules for different types of objects 2015-06-13 15:44:03 -07:00
capability Add a bunch of tests for subclass implementations 2015-06-15 18:13:27 +10:00
config phtize all the things 2015-05-22 21:16:39 +10:00
constants Extend from Phobject 2015-06-15 18:02:27 +10:00
controller When showing policy hints, if the Space policy is strictly stronger, show it instead 2015-06-17 11:25:19 -07:00
exception Allow applications to define new policy capabilities 2013-10-07 13:28:58 -07:00
filter Extend from Phobject 2015-06-15 18:02:27 +10:00
interface Add support for "Extended Policies" 2015-06-03 18:59:27 -07:00
management phtize all the things 2015-05-22 21:16:39 +10:00
phid Simplify the implementation of PhabricatorPHIDType subclasses 2014-07-22 00:38:23 +10:00
query Add a "Thread Members" object policy and some unit tests 2015-06-13 15:44:56 -07:00
rule Extend from Phobject 2015-06-15 18:02:27 +10:00
storage When showing policy hints, if the Space policy is strictly stronger, show it instead 2015-06-17 11:25:19 -07:00