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
Unknown Object (File)
Jun 28 2026, 5:42 AM
Unknown Object (File)
Jun 28 2026, 2:24 AM
Unknown Object (File)
Jun 27 2026, 3:13 AM
Unknown Object (File)
Jun 27 2026, 12:45 AM
Unknown Object (File)
Jun 11 2026, 7:04 PM
Unknown Object (File)
Jun 4 2026, 8:12 AM
Unknown Object (File)
Apr 11 2026, 10:15 PM
Unknown Object (File)
Mar 24 2026, 11:01 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