Allow customizing default Phurl view and edit policies
Summary:
Before | After |
---|---|
{F2669862} | {F2669861} |
Closes T15970
Test Plan:
- Go to http://phorge.localhost/applications/view/PhabricatorPhurlApplication/ and see two additional settings "Default View Policy" and "Default Edit Policy"
- Go to http://phorge.localhost/applications/view/PhabricatorPhurlApplication/ and select "Edit Policies" to see and set two additional settings
- Go to http://phorge.localhost/phurl/url/edit/form/default/ and check the "Visible To" and "Editable By" fields now showing the default page
- Check existing Phurls which did not have their policies changed as that's stored in the database
- run arc liberate again and see that it's already updated
Reviewers: O1 Blessed Committers, aklapper, valerio.bozzolan
Reviewed By: O1 Blessed Committers, aklapper, valerio.bozzolan
Subscribers: aklapper, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno
Maniphest Tasks: T15970
Differential Revision: https://we.phorge.it/D25850