Page MenuHomePhabricator

Allow dashboard panel policies to be edited
ClosedPublic

Authored by lpriestley on May 21 2014, 5:38 PM.
Tags
None
Referenced Files
F13196161: D9238.diff
Sun, May 12, 11:01 PM
F13181781: D9238.diff
Thu, May 9, 3:32 PM
Unknown Object (File)
Fri, May 3, 2:53 AM
Unknown Object (File)
Mon, Apr 29, 2:27 PM
Unknown Object (File)
Wed, Apr 24, 10:06 PM
Unknown Object (File)
Mon, Apr 15, 4:15 AM
Unknown Object (File)
Apr 11 2024, 7:41 AM
Unknown Object (File)
Apr 11 2024, 5:10 AM
Subscribers

Details

Summary

Fixes T4982, expose dashboard panel policy editing to UI

Test Plan

Create panel, verify that user can edit who can see and who can edit panel

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

lpriestley retitled this revision from to Allow dashboard panel policies to be edited.
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/dashboard/controller/PhabricatorDashboardPanelEditController.php
112–113

I think these should be $panel, not $credential.

(I'm surprised lint doesn't catch this, I'll see if I can fix the rule.)

src/applications/dashboard/storage/PhabricatorDashboardPanelTransaction.php
90–95 ↗(On Diff #21941)

Hmm, I don't expect this part to be necessary. Can you walk me through what this fixes?

This revision now requires changes to proceed.May 21 2014, 5:41 PM
src/applications/dashboard/controller/PhabricatorDashboardPanelEditController.php
112–113

copy pasta

lpriestley edited edge metadata.

Removing unnecessary code and fixing copy/paste surplus

epriestley edited edge metadata.
This revision is now accepted and ready to land.May 21 2014, 5:48 PM
epriestley updated this revision to Diff 21943.

Closed by commit rP953f95054f60 (authored by @lpriestley, committed by @epriestley).