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
F18062229: D7649.id17278.diff
Mon, Aug 4, 12:37 PM
F17847686: D7649.id.diff
Sun, Jul 27, 6:25 AM
F17827615: D7649.diff
Sat, Jul 26, 8:23 AM
Unknown Object (File)
Jun 20 2025, 12:45 PM
Unknown Object (File)
Jun 18 2025, 5:08 AM
Unknown Object (File)
Jun 17 2025, 7:23 PM
Unknown Object (File)
Jun 17 2025, 7:50 AM
Unknown Object (File)
May 5 2025, 9:56 AM
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