Page MenuHomePhabricator

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

Authored by epriestley on Jun 17 2015, 1:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 17, 12:17 AM
Unknown Object (File)
Mon, Jan 6, 5:22 PM
Unknown Object (File)
Mon, Jan 6, 10:31 AM
Unknown Object (File)
Sat, Dec 28, 5:03 PM
Unknown Object (File)
Wed, Dec 25, 7:58 AM
Unknown Object (File)
Dec 20 2024, 1:23 AM
Unknown Object (File)
Dec 19 2024, 12:27 AM
Unknown Object (File)
Dec 14 2024, 2:11 PM
Subscribers

Details

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)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to When showing policy hints, if the Space policy is strictly stronger, show it instead.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jun 17 2015, 6:07 PM
This revision was automatically updated to reflect the committed changes.