Page MenuHomePhabricator

Ref T6049, Add Phurl URL create capability
ClosedPublic

Authored by lpriestley on Nov 18 2015, 8:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 3:23 AM
Unknown Object (File)
Fri, Dec 13, 11:43 AM
Unknown Object (File)
Thu, Dec 12, 7:02 AM
Unknown Object (File)
Sun, Dec 8, 1:15 AM
Unknown Object (File)
Mon, Dec 2, 9:58 PM
Unknown Object (File)
Tue, Nov 26, 8:53 PM
Unknown Object (File)
Tue, Nov 26, 6:38 AM
Unknown Object (File)
Nov 22 2024, 5:39 PM
Subscribers

Details

Summary

Ref T6049, Add Phurl URL create capability

Test Plan
  • Change HomeApplicationsPhurlConfigure to allow no one to create Phurl URLs
  • Attempt PhurlShorten URL. Should not be able to create a Phurl.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lpriestley retitled this revision from to Ref T6049, Add Phurl URL create capability.
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/applications/phurl/application/PhabricatorPhurlApplication.php
67

For consistency, just omit this caption. In other applications, "Default Policies" (like "Default View Policy" and "Default Edit Policy") are used to prefill "Can View" and "Can Edit" when creating new objects. This isn't a "Default" policy like those policies.

src/applications/phurl/capability/PhabricatorPhurlURLCreateCapability.php
7

For consistency, omit .default.

This revision is now accepted and ready to land.Nov 18 2015, 8:45 PM
lpriestley edited edge metadata.

Omitting stuff for consistency

This revision was automatically updated to reflect the committed changes.