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)
Sun, Dec 15, 9:29 PM
Unknown Object (File)
Fri, Dec 13, 4:50 PM
Unknown Object (File)
Wed, Nov 27, 5:30 PM
Unknown Object (File)
Wed, Nov 20, 8:28 PM
Unknown Object (File)
Nov 16 2024, 12:53 AM
Unknown Object (File)
Nov 14 2024, 7:38 AM
Unknown Object (File)
Nov 12 2024, 8:38 AM
Unknown Object (File)
Nov 12 2024, 7:08 AM
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.