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)
Sun, Mar 24, 4:00 AM
Unknown Object (File)
Wed, Mar 20, 4:35 PM
Unknown Object (File)
Feb 3 2024, 5:07 AM
Unknown Object (File)
Jan 24 2024, 8:20 AM
Unknown Object (File)
Jan 8 2024, 9:03 PM
Unknown Object (File)
Dec 29 2023, 7:51 PM
Unknown Object (File)
Dec 26 2023, 2:11 PM
Unknown Object (File)
Dec 18 2023, 6:45 AM
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.