Ok this should work.
In Display.php
if (!empty($modSettings['attachmentEnable']) && allowedTo('view_attachments'))
Replace
if (!empty($modSettings['attachmentEnable']) && (allowedTo('view_attachments') || allowedTo('view_attachments2')))
In ManagePermissions.php
'attachment' => array(
'view_attachments' => false,
'post_attachment' => false,
)
Replace
'attachment' => array(
'view_attachments' => false,
'view_attachments2' => false,
'post_attachment' => false,
)
In ManagePermissions.english.php
$txt['permissionname_view_attachments'] = 'View attachments';
$txt['permissionhelp_view_attachments'] = 'Attachments are files that are attached to posted messages. This feature can be enabled and configured in \'Edit Features and Options\'. Since attachments are not directly accessed, you can protect them from being downloaded by users that don\'t have this permission.';
Replace
$txt['permissionname_view_attachments'] = 'Download attachments';
$txt['permissionhelp_view_attachments'] = 'Download Attachments';
$txt['permissionname_view_attachments2'] = 'View attachments';
$txt['permissionhelp_view_attachments2'] = 'Attachments are files that are attached to posted messages. This feature can be enabled and configured in \'Edit Features and Options\'. Since attachments are not directly accessed, you can protect them from being downloaded by users that don\'t have this permission.';