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
F13100720: D21194.diff
Fri, Apr 26, 7:41 PM
Unknown Object (File)
Sat, Apr 20, 5:14 PM
Unknown Object (File)
Sun, Mar 31, 2:35 AM
Unknown Object (File)
Mar 22 2024, 11:21 PM
Unknown Object (File)
Mar 15 2024, 4:57 PM
Unknown Object (File)
Jan 12 2024, 4:43 PM
Unknown Object (File)
Jan 1 2024, 4:25 PM
Unknown Object (File)
Dec 28 2023, 5:28 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