Page MenuHomePhabricator

Propagate "edit policy" and "view policy" when creating a new template task
ClosedPublic

Authored by epriestley on Nov 25 2013, 8:41 PM.
Tags
None
Referenced Files
F18938485: D7649.id.diff
Nov 11 2025, 3:49 AM
F18932413: D7649.diff
Nov 10 2025, 7:35 AM
F18817717: D7649.id17273.diff
Oct 21 2025, 5:45 PM
F18764023: D7649.id.diff
Oct 7 2025, 3:43 AM
F18760109: D7649.diff
Oct 6 2025, 8:03 AM
F18432920: D7649.diff
Aug 31 2025, 7:11 AM
F18102836: D7649.id17273.diff
Aug 9 2025, 11:28 PM
F18062229: D7649.id17278.diff
Aug 4 2025, 12:37 PM
Subscribers

Details

Summary

Fixes T4158. Two possible refinements:

  • Maybe we should make all of these things respect ManiphestCapabilityEditAssign::CAPABILITY, etc. I think it's reasonable either way, and this is probably more intuitive and useful for most cases.
  • Maybe we should check that you can see the policies before copying them. Again, this is sort of reasonable either way.
Test Plan

Created a new task from a template, saw that it inherited policies.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped