1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 18:32:41 +01:00
phorge-phorge/src/applications/phriction/storage
epriestley 9cb4047134 Apply hierarchical policy checks to Phriction
Summary: Ref T4029. When checking the view policy of a document, require the viewer to also be able to see all of the ancestors.

Test Plan:
  - Hard-coded `/x/y/` to "no one".
    - Checked that `/x/y/` is not visible.
    - Checked that `/x/y/z/` is not visible.
    - Checked that `/x/`, `/x/q/`, etc., are still visible.
  - Tested project pages and sub-pages for project visibility.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4029

Differential Revision: https://secure.phabricator.com/D9199
2014-05-19 12:41:30 -07:00
..
__tests__ Added some additional assertion methods. 2014-03-08 19:16:21 -08:00
PhrictionContent.php Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
PhrictionDAO.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhrictionDocument.php Apply hierarchical policy checks to Phriction 2014-05-19 12:41:30 -07:00