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
F13219374: D7314.id16479.diff
Sat, May 18, 5:54 PM
F13180773: D7314.id.diff
Thu, May 9, 3:52 AM
Unknown Object (File)
Wed, Apr 24, 9:47 PM
Unknown Object (File)
Apr 21 2024, 3:40 PM
Unknown Object (File)
Apr 19 2024, 9:17 AM
Unknown Object (File)
Apr 19 2024, 3:26 AM
Unknown Object (File)
Apr 19 2024, 3:26 AM
Unknown Object (File)
Apr 19 2024, 3:26 AM
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.