Page MenuHomePhabricator

Return a 403 instead of a 404 when unable to view an object
Closed, InvalidPublic

Description

Currently, a 404 page is shown if I try to access an object (differential, for example) that I do not have access to view. I feel that a 403 would be more correct and would allow me to request access from an admin if necessary.

This may have security implications.

Event Timeline

joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Policy.
joshuaspence added a subscriber: joshuaspence.

We return HTTP 200 with an explicit message:

Screen_Shot_2014-12-29_at_4.58.22_PM.png (992×1 px, 214 KB)

How are you getting a 404?

joshuaspence claimed this task.

Nevermind, on trying to replicate this I think I mistyped the URL. Although I'm not sure that I agree with a 200.