Homec4science

Check CAN_VIEW and CAN_EDIT at SearchAttachController

Authored by Chad Little <chad@phacility.com> on Jun 22 2016, 16:00.

Description

Check CAN_VIEW and CAN_EDIT at SearchAttachController

Summary: Fixes T11193. Assume this is the correct place to check for permissions before attaching edges.

Test Plan: Create a task and set edit policy to Admins, log into test account. Try to Edit Subtasks, Merge Duplicates, Attach a Diff, or Attach a Mock, get a Policy Dialog explaing why.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T11193

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

Details

Committed
chad <autocommitter@example.com>Jun 22 2016, 16:00
Pushed
aubortJan 31 2017, 17:16
Parents
rPH921a5b494147: Push typehead browse result selector button down one <div>
Branches
Unknown
Tags
Unknown

Event Timeline

chad <autocommitter@example.com> committed rPH83c470123151: Check CAN_VIEW and CAN_EDIT at SearchAttachController (authored by Chad Little <chad@phacility.com>).Jun 22 2016, 16:00