Page MenuHomePhabricator

Prevent "Spaces" field from being set to inconsistent values
ClosedPublic

Authored by epriestley on Dec 17 2015, 7:02 PM.
Tags
None
Referenced Files
F14746501: D14812.diff
Tue, Jan 21, 9:47 AM
Unknown Object (File)
Sun, Jan 5, 10:09 AM
Unknown Object (File)
Sun, Dec 22, 8:05 PM
Unknown Object (File)
Dec 15 2024, 9:00 PM
Unknown Object (File)
Dec 15 2024, 6:16 PM
Unknown Object (File)
Dec 9 2024, 12:13 PM
Unknown Object (File)
Dec 5 2024, 11:13 AM
Unknown Object (File)
Dec 4 2024, 8:59 PM
Subscribers
None

Details

Summary

At least for now, the "Space" field is just a subfield of the "Visible To" field, so:

  • it doesn't get any separate settings; and
  • it always uses the "Visible To" settings.
Test Plan
  • Created a form with a hidden view policy field.
  • Created stuff with no "you must pick a space" errors.
  • Created stuff with a normal form.
  • Prefilled "Space" on a noraml form.
  • Verified that trying to prefill "Space" on a form with "Visible To" hidden does nothing.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable