Page MenuHomePhabricator

Fix a policy issue where permissions were not properly checked when disabling global builtin queries
ClosedPublic

Authored by epriestley on May 31 2022, 5:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 16 2026, 1:22 PM
Unknown Object (File)
Apr 15 2026, 3:46 PM
Unknown Object (File)
Apr 13 2026, 11:27 PM
Unknown Object (File)
Apr 12 2026, 6:06 PM
Unknown Object (File)
Apr 12 2026, 3:01 PM
Unknown Object (File)
Apr 11 2026, 3:45 AM
Unknown Object (File)
Apr 9 2026, 8:27 PM
Unknown Object (File)
Apr 8 2026, 2:07 PM
Subscribers
None

Details

Summary

See https://hackerone.com/reports/1573143. The pathway for disabling global builtin queries is missing a policy check. Add it.

Test Plan
  • Accessed the "/search/delete/id/.../" URI for a global builtin query as a non-administrator.
  • Before patch: could improperly disable queries. -After patch: proper policy exception.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.May 31 2022, 6:00 PM
This revision was automatically updated to reflect the committed changes.