1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 09:20:58 +01:00
No description
Find a file
epriestley b799f5671b Implement PhrictionDocumentQuery
Summary:
Companion for D5284. Move all the query logic to a policy-aware query class. In particular:

  - Currently, anyone can view and edit a project's wiki documents. For callsites using this query class, you must be able to view or edit the project to view or edit its documents.
  - There's some very sketchy logic with the content/document joins. This cleans that up.
  - This cleans up loading projects by moving it inside the query. We need to do this anyway to perform policy checks.

Test Plan: Viewed active/all/updated. Set page size to 2, verified pager works.

Reviewers: AnhNhan, chad

Reviewed By: AnhNhan

CC: aran

Differential Revision: https://secure.phabricator.com/D5285
2013-03-08 07:12:24 -08:00
bin Port Diviner Core to Phabricator 2013-01-07 14:04:23 -08:00
conf Config option to ignore setup issues 2013-02-22 10:08:20 -08:00
externals Attempt to fix IE8 mixed content warning. 2013-02-26 08:00:20 -08:00
resources Save blame info to lint messages 2013-03-06 16:19:01 -08:00
scripts Save blame info to lint messages 2013-03-06 16:19:01 -08:00
src Implement PhrictionDocumentQuery 2013-03-08 07:12:24 -08:00
support Make it easier to use print_r() debugging 2013-02-11 11:06:59 -08:00
webroot make applicationTransactionsCommentView have a "Login to comment." button if user is not logged in 2013-03-07 13:02:36 -08:00
.arcconfig Delete license headers from files 2012-11-05 11:16:51 -08:00
.divinerconfig Centralize rendering of application mail bodies 2012-07-16 19:01:43 -07:00
.editorconfig Specify config for text editors 2012-11-03 22:34:44 -07:00
.gitignore Add a user-accessible hook for dumping debug code into an install 2013-03-04 13:45:51 -08:00
LICENSE Delete license headers from files 2012-11-05 11:16:51 -08:00
NOTICE Increment year. 2013-01-03 05:45:08 -08:00
README Delete license headers from files 2012-11-05 11:16:51 -08:00

Phabricator is a open source collection of web applications which make it easier
to write, review, and share source code. Phabricator was developed at Facebook.

This is an early release. It's pretty high-quality and usable, but under
active development so things may change quickly.

You can learn more about the project and find links to documentation and
resources at: http://phabricator.org/

LICENSE

Phabricator is released under the Apache 2.0 license except as otherwise noted.