Homec4science

Make file policies for emailed files more consistent

Authored by epriestley <git@epriestley.com> on Apr 2 2015, 22:41.

Description

Make file policies for emailed files more consistent

Summary:
Fixes T7712. Currently, files sent via email get default policies, like they were dragged and dropped onto the home page.

User expectation is better aligned with giving files more restrictive policies, like they were draggged and dropped directly onto an object.

Make files sent via email have restricted default visibility. Once we identify the sender, set them as the file author. Later, the file will become visible to other users via attachment to a task, revision, etc.

Test Plan: Sent some files via email; verified they got restrictive policies, correct authorship, and appropriate object attachment.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7712

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

Details

Committed
epriestley <git@epriestley.com>Apr 2 2015, 22:41
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe74c386d5603: Fix an issue where RepositoryQuery may fail for viewers who can't use Diffusion
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHa804f0ab939d: Make file policies for emailed files more consistent (authored by epriestley <git@epriestley.com>).Apr 2 2015, 22:41