CRM-21425: Allow to Edit Inbound E-mails Within CiviCase
authorCamilo Rodriguez <camilo@compucorp.co.uk>
Thu, 11 Jan 2018 15:00:50 +0000 (15:00 +0000)
committerCamilo Rodriguez <camilo@compucorp.co.uk>
Mon, 9 Jul 2018 11:39:14 +0000 (11:39 +0000)
commit558067312e63789d0b22db44b5f174adc6cecfa9
tree7d4451e4753da9e7d2eb7f1a02b5e5550b5648a8
parentee90a98c70dcc9e33f25a48c6f60646ecd98ba95
CRM-21425: Allow to Edit Inbound E-mails Within CiviCase

Civicase used the activity's detail view form to show the detail for the
activity and the edit and delete buttons, but the preprocessing lacked setting
the required flags so the form buttons were shown.

Fixed by setting the required flags and refactoring the new permissions check
into the Activity BAO.
CRM/Activity/BAO/Activity.php
CRM/Activity/Form/Activity.php
CRM/Activity/Page/Tab.php