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
F14707841: D7314.diff
Fri, Jan 17, 6:53 AM
Unknown Object (File)
Sat, Jan 4, 6:48 PM
Unknown Object (File)
Sat, Jan 4, 6:45 PM
Unknown Object (File)
Wed, Jan 1, 2:29 AM
Unknown Object (File)
Fri, Dec 27, 4:30 PM
Unknown Object (File)
Dec 16 2024, 2:27 PM
Unknown Object (File)
Dec 10 2024, 5:13 PM
Unknown Object (File)
Dec 7 2024, 11:02 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

Branch
psimplify
Lint
Lint Passed
Unit
Tests Passed

Event Timeline

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