Homec4science

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

Authored by epriestley <git@epriestley.com> on Nov 25 2013, 23:55.

Description

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

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.

Reviewers: btrahan, hach-que

Reviewed By: hach-que

CC: aran

Maniphest Tasks: T4158

Differential Revision: https://secure.phabricator.com/D7649

Details

Committed
epriestley <git@epriestley.com>Nov 25 2013, 23:55
Pushed
aubortJan 31 2017, 17:16
Parents
rPH8b19465a9ddc: Render linked JIRA issues with a Doorkeeper tag
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHe944cf8ff48e: Propagate "edit policy" and "view policy" when creating a new template task (authored by epriestley <git@epriestley.com>).Nov 25 2013, 23:55