Issue #3277495 by joseph.olstad: add permission and optional config that allows overriding safedelete for managed files in two ways