Homec4science

Send 403 for admin pages without being admin

Authored by vrana <jakubv@fb.com> on Jan 15 2012, 10:07.

Description

Send 403 for admin pages without being admin

Summary: I've also moved the response generation for 404 from

AphrontDefaultApplicationConfiguration to buildResponseString()

Test Plan:
Visit /
Visit /mail/
Visit /x/

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley, vrana

Differential Revision: https://secure.phabricator.com/D1406

Details

Committed
vrana <jakubv@fb.com>Jan 16 2012, 02:30
Pushed
aubortJan 31 2017, 17:16
Parents
rPHd8bbf559592f: Improve behavior when user submits a no-op action in Differential
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <jakubv@fb.com> committed rPH9ba4f24e9304: Send 403 for admin pages without being admin (authored by vrana <jakubv@fb.com>).Jan 16 2012, 02:30