epriestley
bd0be1c650
Add View, Edit and Join policies to PhabricatorProject
...
Summary:
- In ProjectQuery, always load the viewer's membership in the project because we need it to perform a CAN_VIEW test.
- Add storage for the view, edit and join policies.
- A user can always view a project if they are a member.
- A user can always join a project if they can edit it.
- Editing a project requires both "view" and "edit" permissions, and edit does not imply view.
- This has no effect on the application yet.
Test Plan: See next diff.
Reviewers: vrana, btrahan
Reviewed By: btrahan
CC: aran
Maniphest Tasks: T603
Differential Revision: https://secure.phabricator.com/D3219
2012-08-11 07:05:01 -07:00
..
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-05-24 13:59:12 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2011-04-30 00:50:48 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2011-05-10 15:12:30 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2011-10-23 14:25:26 -07:00
2012-04-30 07:53:53 -07:00
2011-10-23 14:42:23 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2011-12-20 14:03:12 -08:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2011-12-29 08:35:32 -08:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-01-19 11:21:49 -08:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-01-25 11:53:39 -08:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-02-28 21:06:34 -08:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-05-24 13:59:12 -07:00
2012-03-12 12:11:36 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-03-27 16:22:40 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-16 12:35:48 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-06-08 12:42:59 -07:00
2012-05-24 13:59:12 -07:00
2012-08-01 17:06:04 -07:00
2012-06-30 15:41:58 -07:00
2012-05-07 10:29:33 -07:00
2012-05-07 10:34:07 -07:00
2012-05-07 10:29:33 -07:00
2012-08-09 08:40:56 -07:00
2012-07-09 15:20:56 -07:00
2012-05-03 09:22:52 -07:00
2012-06-13 08:58:46 -07:00
2012-07-11 11:40:10 -07:00
2012-07-09 15:20:56 -07:00
2012-07-18 20:42:06 -07:00
2012-07-18 20:41:42 -07:00
2012-07-20 08:59:39 -07:00
2012-08-07 18:02:05 -07:00
2012-07-19 09:03:10 -07:00
2012-05-20 14:46:01 -07:00
2012-08-11 07:05:01 -07:00
2012-08-10 10:44:04 -07:00
2012-08-06 12:20:45 -07:00
2012-05-20 14:46:01 -07:00
2012-06-14 11:36:34 -07:00
2012-05-03 18:24:30 -07:00
2012-06-14 18:33:00 -07:00