Page MenuHomePhabricator

Prevent users from disabling repository builtin URIs
ClosedPublic

Authored by epriestley on May 12 2016, 3:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 9:04 PM
Unknown Object (File)
Thu, Apr 11, 8:46 AM
Unknown Object (File)
Mon, Apr 8, 2:49 AM
Unknown Object (File)
Wed, Mar 27, 12:26 PM
Unknown Object (File)
Mar 20 2024, 6:07 PM
Unknown Object (File)
Feb 16 2024, 11:47 AM
Unknown Object (File)
Feb 10 2024, 5:31 AM
Unknown Object (File)
Feb 3 2024, 11:31 PM
Subscribers

Details

Summary

Ref T10923. Currently, users can disable or enable builtin URIs, but this doesn't actually do anything.

The behavior of "disable" has changed a bit over time and might need some further refinement, but it's currently meaningless for builtin URIs. Prevent adjustment of it. If users want to hide a URI, they should set "Display: Hidden" instead.

Test Plan
  • Disabled/enabled a non-builtin URI.
  • Tried to disable a builtin URI, saw greyed out UI and got a helpful error message.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Prevent users from disabling repository builtin URIs.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.

If this was already done will there be any repercussions?

There shouldn't be -- the database value is completely ignored and automatically adjusted to the expected value at runtime.

chad edited edge metadata.
This revision is now accepted and ready to land.May 12 2016, 7:01 PM
This revision was automatically updated to reflect the committed changes.