Page MenuHomePhabricator

Stabilize fatals when a build has a build plan the viewer can't see because of policy restrictions
ClosedPublic

Authored by epriestley on Apr 30 2020, 2:47 PM.
Tags
None
Referenced Files
F18734278: D21194.id.diff
Tue, Sep 30, 10:51 PM
F18656859: D21194.diff
Mon, Sep 22, 11:39 PM
F18648175: D21194.diff
Fri, Sep 19, 3:50 PM
F18648004: D21194.diff
Fri, Sep 19, 3:34 PM
F18575218: D21194.diff
Sep 10 2025, 12:43 PM
F18104970: D21194.id50475.diff
Aug 10 2025, 3:24 PM
F18101064: D21194.diff
Aug 9 2025, 12:18 PM
F17976819: D21194.id.diff
Aug 1 2025, 5:30 PM
Subscribers
Restricted Owners Package

Details

Summary

Ref T13526. Currently, if a build plan is restricted, viewers may fatal when trying to view related builds.

The old behavior allowed them to see the build even if they can not see the build plan. This is sort of incoherent, but try to stabilize things before fixing this.

Test Plan

This is a muddy change.

  • Created a build with a build plan that Alice can't see.
  • As Alice, viewed the build page (restricted before, restricted after); the buildable page (fatal before, works after).
  • Also viewed a revision page (works before and after, but user-reported fatal).

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable