Page MenuHomePhabricator

Simplify custom policies before saving, and reject meaningless policies
ClosedPublic

Authored by epriestley on Oct 14 2013, 11:10 PM.
Tags
None
Referenced Files
F18816318: D7314.id16479.diff
Tue, Oct 21, 6:00 AM
F18759767: D7314.id16474.diff
Mon, Oct 6, 5:49 AM
F18748210: D7314.id16479.diff
Fri, Oct 3, 7:52 PM
F18627768: D7314.diff
Sep 16 2025, 4:44 AM
F18625263: D7314.id16474.diff
Sep 15 2025, 10:20 PM
F18620956: D7314.id16479.diff
Sep 15 2025, 6:45 AM
F18616211: D7314.id16474.diff
Sep 14 2025, 4:36 PM
F18584259: D7314.id16479.diff
Sep 11 2025, 12:26 PM
Subscribers

Details

Summary

Ref T603. Do a little more sanity checking on custom policies, so policies like this:

[ Allow ] [ Users ] [ <no users> ]

...that don't specify anything and thus which aren't meaningful raise errors.

Test Plan

{F69570}

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley updated this revision to Unknown Object (????).Oct 14 2013, 11:12 PM
  • Save the simplified version of the data.