HomePhabricator

When showing policy hints, if the Space policy is strictly stronger, show it…

Description

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:

Screen Shot 2015-06-17 at 6.06.24 AM.png (989×1 px, 234 KB)

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8449

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

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Jun 17 2015, 6:25 PM
Reviewer
btrahan
Differential Revision
D13328: When showing policy hints, if the Space policy is strictly stronger, show it instead
Parents
rPb3ae48d8ca2d: Improve Differential query plans
Branches
Unknown
Tags
Unknown
Tasks
T8449: Spaces v1 Errata