Fixing: UX when viewing a commit blocked by sub-repo permissions could be better
Created by: varsanojidan
Closes #30751 (closed)
Test plan
Tested using the local development environment, accessed both a commit that was and a commit thats wasn't blocked by sub-repo permissions and validated that they behaved the same after the changes.
Before Change:
After Change: