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
Unknown Object (File)
Sat, Jun 7, 3:01 AM
Unknown Object (File)
Thu, May 29, 8:27 PM
Unknown Object (File)
Thu, May 29, 12:24 AM
Unknown Object (File)
Wed, May 28, 1:21 PM
Unknown Object (File)
Tue, May 27, 8:06 PM
Unknown Object (File)
Apr 27 2025, 6:21 AM
Unknown Object (File)
Apr 17 2025, 12:46 AM
Unknown Object (File)
Apr 5 2025, 6:27 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.