@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

Add View, Edit and Join policies to PhabricatorProject master

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


+106 -16
4 changed files