Page MenuHomePhabricator

When a custom logo is configured but has a restrictive visibility policy, fall back to the default logo
ClosedPublic

Authored by epriestley on Dec 9 2016, 12:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 10:22 PM
Unknown Object (File)
Mon, Apr 1, 5:17 AM
Unknown Object (File)
Mon, Mar 25, 7:35 AM
Unknown Object (File)
Mon, Mar 25, 7:35 AM
Unknown Object (File)
Mon, Mar 25, 7:35 AM
Unknown Object (File)
Mon, Mar 25, 6:20 AM
Unknown Object (File)
Mar 6 2024, 11:49 PM
Unknown Object (File)
Feb 23 2024, 7:26 AM
Subscribers
None

Details

Summary

Fixes T11982. Currently, configuring a custom logo and then setting the policy restrictively locks off the whole install.

Test Plan
  • Configured ui.logo.
  • Searched for the file PHID in global search to find the underlying file.
  • Set the policy to something restrictive ("only me").
  • Purged cache (bin/cache purge --purge-all).
  • Restarted webserver to nuke APC.
  • Loaded a page as a different user.
  • Before change: policy exception while trying to load the logo.
  • After change: fallback to default logo.
  • Loaded page as user who can see the logo, got custom logo.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to When a custom logo is configured but has a restrictive visibility policy, fall back to the default logo.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Dec 9 2016, 3:20 PM
This revision was automatically updated to reflect the committed changes.