Homec4science

Apply hierarchical policy checks to Phriction

Authored by epriestley <git@epriestley.com> on May 19 2014, 21:41.

Description

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

Details

Committed
epriestley <git@epriestley.com>May 19 2014, 21:41
Pushed
aubortJan 31 2017, 17:16
Parents
rPH4d7c1026f4b3: Use PhrictionDocumentQuery to load documents
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH9cb4047134f5: Apply hierarchical policy checks to Phriction (authored by epriestley <git@epriestley.com>).May 19 2014, 21:41