1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/phriction
Bob Trahan a9000ea21c Phriction - lock down /project/ wiki docs
Summary:
only show the blank, "create new" wiki page for the project if the project actually exists; only allow edit if the project actually exists.
Small wrinkle here is not checking if the project actually exists if the page already exists.

Test Plan:
- viewed a project wiki page
- viewed a prokect wiki page for a fake project and got a 404
- edited a project wiki page
- edited a project wiki page for a fake project and got a 404

Reviewers: epriestley, jacktrades

Reviewed By: epriestley

CC: aran, Koolvin

Maniphest Tasks: T1248

Differential Revision: https://secure.phabricator.com/D2506
2012-05-20 08:54:25 -07:00
..
constants Add "final" to (almost) everything else 2012-03-13 16:21:04 -07:00
controller Phriction - lock down /project/ wiki docs 2012-05-20 08:54:25 -07:00
editor/document PhabricatorSlug 2012-04-10 14:18:20 -07:00
storage PhabricatorSlug 2012-04-10 14:18:20 -07:00